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