andreasgal/pdf.js — pull request #700 by arturadib (2011-10-25 17:56:45+00:00)
Title: File split

Everything should be working, including the worker stuff.

Major topics:

+ All sources now live under `src/`
+ Final target is `build/pdf.js`. Use `make pdfjs` to generate the file, and `make watch` to monitor file changes and regenerate target automatically. (Only dependency is `make` and `python`, already required by our tests).
+ Worker files have been reorganized, and bundled into `worker.js`. `pdf.js` detects its environment (master vs. worker) and initializes appropriately
+ All our API is exposed through the global object `PDF`. Everything else is wrapper under a self-executing function
+ Julian's `window[]` hack has been modified to use the object `Shadings`

This was done with @brendandahl - if you guys could take a look at this relatively soon that would be helpful, otherwise will get gitrotten quickly.

Thanks!

@cgjones @vingtetun @notmasteryet @jviereck @wfwalker