fix m.request options signature

This commit is contained in:
Leo Horie 2015-02-18 22:24:46 -05:00
parent 550fe9871a
commit 1653031747
2 changed files with 3 additions and 2 deletions

View file

@ -13,6 +13,7 @@
- fix routing bug in IE9 [#320](https://github.com/lhorie/mithril.js/issues/320)
- fix ordering bug in m.trust when using HTML entities [#453](https://github.com/lhorie/mithril.js/issues/453)
- set promise's default value to initialValue if coming from m.request [#454](https://github.com/lhorie/mithril.js/issues/454)
---

View file

@ -433,8 +433,8 @@ where:
[Object<any> data,]
[Boolean background,]
[any initialValue,]
[any unwrapSuccess(any data),]
[any unwrapError(any data),]
[any unwrapSuccess(any data, XMLHttpRequest xhr),]
[any unwrapError(any data, XMLHttpRequest xhr),]
[String serialize(any dataToSerialize),]
[any deserialize(String dataToDeserialize),]
[any extract(XMLHttpRequest xhr, XHROptions options),]