Commit b892d1ce authored by TasteBot's avatar TasteBot

update the build files for gh-pages [ci skip]

parent b191b753
......@@ -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