Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NotesView = Backbone.View.extend({
- //...
- render: function() {
- var variables = { label: "hello" };
- var template = Mustache.render( $('#template').html(), variables );
- this.$el.html( template );
- },
- //...
- });
Add Comment
Please, Sign In to add comment