Connexions/rhaptos2.repo — pull request #69 by philschatz (2012-12-14 23:27:22+00:00)
Title: Backbone and requirejs refactor

I added Backbone models and views for the metadata and roles for a module:
* Most of the client javascript code is now wrapped in requirejs modules
* I added mock AJAX calls for unit testing (these should be kept in sync with server routes)
* I added jasmine tests and a `static/tests/Sandbox.html` to play around without having to start up a webserver
* The ATC and webpage javascript starts by including a single `static/main.coffee`
* All files use the same requirejs version of jQuery
* You can now get to the `Aloha` object from requirejs instead of using the global

I've got few more commits that I can either include in this pull req or wait on (adding them makes the diff even harder to read):
1. Refactored `static` dir to make it easier to drop in 3rd party libs (eventually there would be a setup script that downloads/unzips those dependencies)
2. Removed `jqueryui` and `tag-it` in favor of `select2`