actually fix error from promise branch merge
This commit is contained in:
parent
a73f9cdd3a
commit
153d2384c8
2 changed files with 1 additions and 6 deletions
|
|
@ -762,7 +762,7 @@ Mithril = m = new function app(window, undefined) {
|
|||
}
|
||||
}
|
||||
m.deferred.onerror = function(e) {
|
||||
if (type.call(e) == "[object Error]" && !e.constructor.toString().match(/ Error/)) throw e
|
||||
if (type(e) == "[object Error]" && !e.constructor.toString().match(/ Error/)) throw e
|
||||
}
|
||||
|
||||
m.sync = function(args) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue