Created
July 9, 2012 00:30
-
-
Save denniskuczynski/3073555 to your computer and use it in GitHub Desktop.
Example Backbone.JS View
This file contains 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
App.Views.Examples ||= {} | |
class App.Views.Examples.IndexView extends Backbone.View | |
template: JST["backbone/templates/examples/index"] | |
render: -> | |
this.el.html((@template({title:"Example Title"})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment