Fix typo in the example of data binding
This commit is contained in:
parent
57c9cfa76b
commit
a746d67267
1 changed files with 1 additions and 1 deletions
|
|
@ -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