added test to prevent releases w/ console.log
This commit is contained in:
parent
9794c534eb
commit
dc379a4cf8
7 changed files with 18 additions and 2 deletions
|
|
@ -474,6 +474,8 @@ Mithril = m = new function app(window) {
|
|||
|
||||
//testing API
|
||||
m.deps = function(mock) {return window = mock}
|
||||
//for internal testing only, do not use `m.deps.factory`
|
||||
m.deps.factory = app
|
||||
|
||||
return m
|
||||
}(this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue