mozilla/testpilot2 — pull request #13 by clarkbw (2012-08-24 07:07:55+00:00)
Title: start using backbone for the model, collection, and views for the test pilot pages

I've converted the pages to using the backbone model system. I find this a lot easier to hook into the reactive port events with an event driven UI. Currently the model and collections will listen for updates from the pagemod port system and update the pages accordingly without a need to change. I think we can continue to hook up the backbone view event system for use in buttons and other pieces that need to pull data down from pages.

Also I moved the `curl` commands out of the Makefile for the JS libraries. I'm not a fan of that system since it just pulls down a URL we're not checking for version, etc. Instead I've a production and dev version of each library we're using. When not loading the page via a local file (developer) URL users should be loading it via the minimized production URL. As we need to update those libraries we'll pull in new versions from the URLs on the web and commit them.

There were some pieces of the templating system that I didn't really understand what you were trying to do. I've switched us over to the underscore templates since we were already pulling in that library and the templates are doing the same thing as before but I'm unsure what you want to do with something like the `status` variable that seems out of place for the UI.