mithril-vndb/request
Isiah Meadows 0a1a33a036
Make m.request work with async/await correctly. (#2428)
* s/xhr/request/g

`m.xhr` was a relic of the rewrite days prior to the release of v1.0.0,
before it was renamed `m.request` to align with v0.2.x. This just strips
some of that legacy naming.

* Make this work with `async`/`await` correctly.

It looked like a V8 bug, but read the two big code comments and follow
their links. It's a bit more subtle than it looks, and V8's in the right
here.
2019-06-10 19:48:04 -04:00
..
tests Make m.request work with async/await correctly. (#2428) 2019-06-10 19:48:04 -04:00
request.js Make m.request work with async/await correctly. (#2428) 2019-06-10 19:48:04 -04:00