Merge pull request #771 from Zalmoxisus/next

Fix SyntaxError in the render example
This commit is contained in:
Leo Horie 2015-08-28 09:20:12 -04:00
commit e41e84eaad
2 changed files with 2 additions and 2 deletions

View file

@ -105,7 +105,7 @@ m.render(document.body, [
m("a", {href: link.url}, link.title)
);
})
])
)
]);
```

View file

@ -40,7 +40,7 @@ var User = {
this.name = m.prop(name);
},
controller: function() {
this.user = new user.model("John Doe");
this.user = new User.model("John Doe");
},
view: function(controller) {
m.render("body", [