guardian/frontend — pull request #308 by ironsidevsquincy (2012-11-28 16:38:05+00:00)
Title: Js dependency manager

Boom! 318 files changed

Don't be scared. They're all pretty much additions from third-party libs

Two parts to this really,

1) we're now using bower to handle js dependencies. It's actually pretty crap, as it depends on people tagging releases in git hub, which they obviously don't always do. Long term solution would be something that can also download arbitrary trees or branches. Maybe we should look into building our own
2) use r.js through node. Now we're building a single file (rather than an app). Also tidied up the files we run asset-hash over. Basically, should speed up static compilation

This is kind of a stop-gap, as play 2.1 will have better requirejs functionality built in (uses node, doesn't run compilation on dev)