#355 prevent interop problem w/ QUnit + requireJS
This commit is contained in:
parent
1fce18069d
commit
83bc89f188
1 changed files with 1 additions and 1 deletions
|
|
@ -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});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue