antillas21/andrebadi — pull request #4 by favrik (2013-03-04 13:40:46+00:00)
Title: Add first version of customer list

The customer list is coming from a bootstrapped backbone collection (which is a good practice!).

There are definitely side effects when mixing with jQuery mobile. I couldn't find a way to just render a partial instead of always rendering the header and footer.

Next step I think, is to actually do a `fetch` when you click on a customer name (and also on next user interactions with the app).

List of changes:

* Add partials for always including the jquery Mobile header and footer on every backbone template
* Add App.BaseRouter with the changePage method needed for integration
between jQuery Mobile and backbone
* Attach click handler to all links so that they are managed by backbone
* Add document.ready initialization
* Create intermediate view CustomerList to be able to attach li
elements to it
* Use mustache syntax for underscore templates {{ }}