diff --git a/docs/mithril.md b/docs/mithril.md index 95374a80..1f8025dd 100644 --- a/docs/mithril.md +++ b/docs/mithril.md @@ -105,7 +105,7 @@ m.render(document.body, [ m("a", {href: link.url}, link.title) ); }) - ]) + ) ]); ``` diff --git a/docs/mithril.prop.md b/docs/mithril.prop.md index a148a1cf..001ab852 100644 --- a/docs/mithril.prop.md +++ b/docs/mithril.prop.md @@ -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", [