Created
November 25, 2012 11:19
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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