diff --git a/docs/change-log.md b/docs/change-log.md index 8fb182f8..273cd0b1 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -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) --- diff --git a/docs/mithril.request.md b/docs/mithril.request.md index ad89a482..2b474861 100644 --- a/docs/mithril.request.md +++ b/docs/mithril.request.md @@ -433,8 +433,8 @@ where: [Object 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),]