Created
November 12, 2010 21:06
-
-
Save zenom/674690 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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