Merge branch 'next' of https://github.com/lhorie/mithril.js into next
This commit is contained in:
commit
1f0068df1a
1 changed files with 4 additions and 0 deletions
|
|
@ -1815,6 +1815,10 @@
|
|||
return fire()
|
||||
}
|
||||
|
||||
if (state === REJECTING) {
|
||||
m.deferred.onerror(promiseValue)
|
||||
}
|
||||
|
||||
thennable(then, function () {
|
||||
state = RESOLVING
|
||||
fire()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue