Fixed m.request initialValue tests
This commit is contained in:
parent
71a6321c46
commit
b5de0c2b4d
3 changed files with 143 additions and 75 deletions
|
|
@ -949,7 +949,7 @@ Mithril = m = new function app(window, undefined) {
|
|||
if (xhrOptions.background !== true) m.endComputation()
|
||||
}
|
||||
ajax(xhrOptions)
|
||||
deferred.promise(xhrOptions.default)
|
||||
deferred.promise(xhrOptions.initialValue)
|
||||
return deferred.promise
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue