invalidate dom cache on new module

This commit is contained in:
Leo Horie 2014-03-30 14:36:16 -04:00
parent 7e2136ba51
commit 62eae50b20

View file

@ -180,6 +180,7 @@ new function(window) {
var currentRoot, currentModule = {view: function() {}}, currentController = {}, now = 0, lastRedraw = 0, lastRedrawId = 0
m.module = function(root, module) {
m.startComputation()
cellCache = {}
currentRoot = root
currentModule = module
currentController = new module.controller