From b70b4191b7c9589c4e6a4a4383393ca27bbe98ad Mon Sep 17 00:00:00 2001 From: Yoshiki Shibukawa Date: Sun, 3 May 2015 18:29:57 +0900 Subject: [PATCH] Update mithril.component.md --- docs/mithril.component.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mithril.component.md b/docs/mithril.component.md index b6396d7a..4995a880 100644 --- a/docs/mithril.component.md +++ b/docs/mithril.component.md @@ -217,7 +217,7 @@ Components can be placed anywhere a regular element can. If you have components ```javascript var App = { - ctrl: function() { + controller: function() { return {data: [1, 2, 3]} } view: function(ctrl) {