expose to commonjs
This commit is contained in:
parent
7e2136ba51
commit
d258b9687b
5 changed files with 6 additions and 2 deletions
|
|
@ -417,6 +417,8 @@ new function(window) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (window.module) window.module.exports = m
|
||||||
|
|
||||||
//testing API
|
//testing API
|
||||||
m.deps = function(mock) {return window = mock}
|
m.deps = function(mock) {return window = mock}
|
||||||
}(this)
|
}(this)
|
||||||
|
|
|
||||||
2
archive/v0.1.2/mithril.min.js
vendored
2
archive/v0.1.2/mithril.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
|
@ -417,6 +417,8 @@ new function(window) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (window.module) window.module.exports = m
|
||||||
|
|
||||||
//testing API
|
//testing API
|
||||||
m.deps = function(mock) {return window = mock}
|
m.deps = function(mock) {return window = mock}
|
||||||
}(this)
|
}(this)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue