Harvard-ATG/HarvardCards — pull request #12 by arthurian (2013-12-05 21:31:39+00:00)
Title: feature/template cleanup

This PR refactors the javascript so that only the `require.js` script is loaded explicitly and everything else is loaded via `require()` calls. I put the `requirejs.config()` in a template so that we can pass in the `STATIC_URL` value and potentially other parameters, depending on whether we want it to use local libraries or CDNs. I added a simple debug flag that causes a timestamp to be added to each script so that they aren't cached.

@jazahn Can you review this? I'd like to do some more cleanup of the templates and javascript, but I thought this was a good starting point. Get this merged in so that we can all start using `require()` for our development.