-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78b3d1e
commit 5b657d2
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,22 @@ | ||
xr | ||
== | ||
|
||
Really simple wrapper about XR that provides a couple of nice functions, exposes the XHR object wherever relevant, and returns an ES6 Promise. | ||
Really simple wrapper about XR that provides a couple of nice functions, | ||
exposes the XHR object wherever relevant, and returns an ES6 Promise. | ||
|
||
API is simple, for now consult source files. | ||
|
||
Features | ||
-------- | ||
|
||
* Returns ES6 promises. | ||
* Rejects if not 200. | ||
* Has query parameter generation. | ||
* Supports events. | ||
|
||
Requirements | ||
------------ | ||
|
||
There must be a polyfill that supports at least the standard ES6 promise API | ||
(xr will use whatever's there), and Object.assign(). | ||
|