* Update docs/request.md * Bring some sanity to request parsing and error handling - The browser can do JSON parsing itself. Let's defer to that where possible. (A few IE hacks are required here, though.) - Don't propagate any error that occurs before `deserialize`/`extract`. - Allow sending raw array buffers/blobs/etc. to `deserialize`. - Align behavior more closely with the XHR spec. - Send the more useful parsed response to `deserialize`, not the less useful string response. |
||
|---|---|---|
| .. | ||
| tests | ||
| browserMock.js | ||
| callAsync.js | ||
| components.js | ||
| domMock.js | ||
| parseURL.js | ||
| pushStateMock.js | ||
| README.md | ||
| throttleMock.js | ||
| xhrMock.js | ||
Test utils
Utilities for testing Mithril
Version: 1.0 License: MIT
About
- pushStateMock - mock for
history.pushStateandlocation - ajaxMock - mock for XMLHttpRequest and JSONP transporters
- parseURL - helper function for URL parsing