Commit e0e0ef4c authored by Ryan Eastridge's avatar Ryan Eastridge

fix requirejs state preservation bug

parent bdee8837
......@@ -39,9 +39,11 @@ require([
], function( AppView, TodoMVCRouter ) {
// Initialize routing and start Backbone.history()
new TodoMVCRouter();
Backbone.history.start();
// Initialize the application view
var view = new AppView();
$('body').append(view.el);
Backbone.history.start();
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment