From bb4f92d50016e0511fa4dd06122fb81ff65faad9 Mon Sep 17 00:00:00 2001 From: pelonpelon Date: Wed, 4 Mar 2015 20:31:32 -0600 Subject: [PATCH] Update mithril.module.md --- docs/mithril.module.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/mithril.module.md b/docs/mithril.module.md index f96e7720..dcc59168 100644 --- a/docs/mithril.module.md +++ b/docs/mithril.module.md @@ -100,7 +100,7 @@ m.module(document, module1); var module2 = {}; module2.controller = function() {}; -module1.view = function() {}; +module2.view = function() {}; m.module(document, module2); // logs "unloading module 1" ``` @@ -161,4 +161,4 @@ where: - **returns Object controllerInstance** - An instance of the controller constructor \ No newline at end of file + An instance of the controller constructor