Commit 5e715bc1 authored by Sam Saccone's avatar Sam Saccone

Merge pull request #1271 from jh3y/master

Resolves #1270 by moving backbone.history.start invocation
parents ac75ffae 0ce79857
......@@ -71,6 +71,9 @@
<script src="js/TodoMVC.TodoList.js"></script>
<script>
$(function () {
TodoMVC.on('start', function() {
Backbone.history.start();
});
// start the TodoMVC app (defined in js/TodoMVC.js)
TodoMVC.start();
});
......
......@@ -21,7 +21,6 @@ window.TodoMVC = new App();
});
})();
TodoMVC.on('start', function () {
TodoMVC.on('before:start', function () {
TodoMVC.setRootLayout();
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