Merge pull request #242 from Whoaa512/m.module-return-controller

M.module return controller
This commit is contained in:
Leo Horie 2014-09-14 00:59:44 -04:00
commit 7d718a9e76
4 changed files with 16 additions and 14 deletions

View file

@ -457,6 +457,7 @@ Mithril = m = new function app(window, undefined) {
modules[index] = module
controllers[index] = new module.controller
m.endComputation()
return controllers[index]
}
}
m.redraw = function(force) {