modularize bundler and minify scripts

This commit is contained in:
Leo Horie 2016-06-23 01:10:30 -04:00
parent 639967c767
commit 89492a4956
8 changed files with 173 additions and 124 deletions

View file

@ -1048,6 +1048,8 @@ m.withAttr = function(attrName, callback, context) {
}
m.render = renderService.render
m.redraw = redrawService.publish
if (typeof module === "object") module.exports = m
if (typeof module === "object") {
module.exports = m
}
else window.m = m
})()