update change log about m.module

This commit is contained in:
Leo Horie 2014-09-18 11:50:02 -04:00
parent 86a79a0f5e
commit b632e671a3
2 changed files with 3 additions and 1 deletions

View file

@ -8,6 +8,7 @@
- there is more documentation for things that weren't that clear - there is more documentation for things that weren't that clear
- json-p support added - json-p support added
- `m()` now supports splat for children (e.g. `m("div", m("a"), m("b"), m("i"))` for nicer Coffeescript syntax - `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: ### Bug Fixes:

View file

@ -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). 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