#355 prevent interop problem w/ QUnit + requireJS

This commit is contained in:
Leo Horie 2014-11-24 10:01:54 -05:00
parent 1fce18069d
commit 83bc89f188

View file

@ -974,5 +974,5 @@ Mithril = m = new function app(window, undefined) {
return m
}(typeof window != "undefined" ? window : {});
if (typeof module != "undefined" && module !== null) module.exports = m;
if (typeof module != "undefined" && module !== null && module.exports) module.exports = m;
if (typeof define == "function" && define.amd) define(function() {return m});