-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
The view sample presented isn't working for me.
here's my test:
var User = Backbone.Model.extend();
var HelloView = Backbone.HandlebarsView.extend({
template: 'Hello {{name}}'
})
var AppView = Backbone.HandlebarsView.extend({
template: '
Hello
{{view "HelloView" model=this}}'});
var app = new AppView({model: new User({name: 'Foli'})});
console.log(app.render().$el.html());
I am using the current version of the plugin, the latest backbone and jquery. I am using requirejs. Here's the entire code dump:
Metadata
Metadata
Assignees
Labels
No labels