Skip to content

Instantly share code, notes, and snippets.

@zenom
Created November 12, 2010 21:06
Show Gist options
  • Save zenom/674690 to your computer and use it in GitHub Desktop.
Save zenom/674690 to your computer and use it in GitHub Desktop.
var Wall = Backbone.Controller.extend({
routes: {
"wall": "index"
},
initialize: function() {
console.log('controller initialized');
},
index: function() {
console.log('here');
},
});
window.App = new Wall;
# Note:
# When I go to /#wall I don't see anything in the console. I tried just new Wall as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment