Update mithril.module.md

This commit is contained in:
pelonpelon 2015-03-04 20:31:32 -06:00
parent 91607387b1
commit bb4f92d500

View file

@ -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
An instance of the controller constructor