Skip to content

Commit

Permalink
Some cleanup to app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
GCheung55 committed Dec 16, 2012
1 parent b09824a commit f30e291
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions labs/architecture-examples/neuro/js/app.js
Expand Up @@ -13,7 +13,6 @@
collection: undefined,

options: {
routerPath: '',
templates: {
todoItem: document.id('todoItemTemplate'),
todoCount: document.id('todoCount'),
Expand Down Expand Up @@ -55,7 +54,7 @@
var _this = this;

var router = this.router = new Neuro.Router({
pattern: this.options.initialPath + '#/:filter:',
pattern: '#/:filter:',
callback: function(route, filter){
_this._onClickFilter(filter);
}
Expand Down Expand Up @@ -209,9 +208,7 @@
});

window.App = new App({
element: 'todoapp',
// initialPath: '/labs/architecture-examples/neuro/'
initialPath: ''
element: 'todoapp'
});

})( window );

0 comments on commit f30e291

Please sign in to comment.