Skip to content

Instantly share code, notes, and snippets.

@tdurand
Created November 25, 2012 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdurand/4143165 to your computer and use it in GitHub Desktop.
Save tdurand/4143165 to your computer and use it in GitHub Desktop.
Blog : Discussing jQuery Mobile and Backbone.js integration with a simple FAQ App
category:function(lang,id,idEntry) {
var categoryView=new CategoryView({id:id,lang:lang,idEntry:idEntry});
faq.appView.show(categoryView);
this.changePage(categoryView,transition);
$.mobile.showPageLoadingMsg();
},
routes: {
'': 'index',
':lang': 'index',
':lang/category/:id': 'category',
':lang/category/:id/entry/:idEntry': 'category',
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment