When I try to compress a project that depends on date.js (http://
www.datejs.com/), js hangs.
Steps to reproduce:
1. git clone
http://github.com/jupiterjs/framework.git
2. git submodule init && git submodule update
3. git submodule foreach git pull
4. git submodule foreach git checkout
5. ./js jquery/generate/app cookbook
6. wget
http://datejs.googlecode.com/files/date.js -O cookbook/
resources/date.js
7. echo '.resources("date")' >> cookbook/cookbook.js
8. ./js cookbook/scripts/build.js
"Building to cookbook/" ... and then nothing.
I haven't tried to debug; date.js modifies the underlying js Date
object by adding fields and methods. I've been using it successfully
in the development environment, but I'd love a workaround that allows
me to continue using it with a compressed production.js ...
Thanks,
George