From b632e671a3d49dba48b13779c230bf228b33e1e4 Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Thu, 18 Sep 2014 11:50:02 -0400 Subject: [PATCH] update change log about m.module --- docs/change-log.md | 1 + docs/mithril.module.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/change-log.md b/docs/change-log.md index 7347af50..9eec045e 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -8,6 +8,7 @@ - there is more documentation for things that weren't that clear - json-p support added - `m()` now supports splat for children (e.g. `m("div", m("a"), m("b"), m("i"))` for nicer Coffeescript syntax +- by popular demand, `m.module` now returns a controller instance ### Bug Fixes: diff --git a/docs/mithril.module.md b/docs/mithril.module.md index 54214fc8..0c18f87a 100644 --- a/docs/mithril.module.md +++ b/docs/mithril.module.md @@ -181,5 +181,6 @@ where: Components are nothing more than decoupled classes that can be dynamically brought together as required. This permits the swapping of implementations at a routing level (for example, if implementing widgetized versions of existing components), and class dependency hierarchies can be structurally organized to provide uniform interfaces (for unit tests, for example). +- **returns Object controllerInstance** - + An instance of the controller constructor \ No newline at end of file