Merge pull request #771 from Zalmoxisus/next
Fix SyntaxError in the render example
This commit is contained in:
commit
e41e84eaad
2 changed files with 2 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ m.render(document.body, [
|
|||
m("a", {href: link.url}, link.title)
|
||||
);
|
||||
})
|
||||
])
|
||||
)
|
||||
]);
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -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", [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue