From 6ec6ede38a0224d0cf2911813b340bbfb21989d2 Mon Sep 17 00:00:00 2001 From: Christopher Venning Date: Tue, 9 Jun 2015 19:10:51 -0400 Subject: [PATCH] DOCS: missing comma in example --- 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 0766de56..05d5cda6 100644 --- a/docs/mithril.component.md +++ b/docs/mithril.component.md @@ -219,7 +219,7 @@ Components can be placed anywhere a regular element can. If you have components var App = { controller: function() { return {data: [1, 2, 3]} - } + }, view: function(ctrl) { return m(".app", [ //pressing the button reverses the list