diff --git a/mithril.js b/mithril.js index c0983bb1..56880897 100644 --- a/mithril.js +++ b/mithril.js @@ -455,6 +455,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) {