From a746d6726770dc1662bb02f1ee7ff3225c9f97a0 Mon Sep 17 00:00:00 2001 From: Mihail Diordiev Date: Sat, 22 Aug 2015 19:43:05 +0300 Subject: [PATCH] Fix typo in the example of data binding --- docs/mithril.prop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", [