Created
August 22, 2013 17:43
-
-
Save psykidellic/6310442 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
| TestView = Backbone.View.extend( | |
| manage: true | |
| template: _.template("{{= artist }}") #"#album-temp" | |
| serialize: -> | |
| artist: "psykidellic" | |
| ) | |
| .. This ends up just having : {{= artist }} in the DOM. | |
| But if I use an existing text/template script in the dom, | |
| TestView = Backbone.View.extend( | |
| manage: true | |
| template: "#album-temp" | |
| serialize: -> | |
| artist: "psykidellic" | |
| ) | |
| .. Using Backbone.Layoutmanager. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment