Skip to content

Commit 34ce57a

Browse files
committed
Updating README
1 parent f8fbd6e commit 34ce57a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ $ npm install axios
3636

3737
Tested to work with >=IE8, Chrome, Firefox, Safari, and Opera.
3838

39+
## Promises
40+
41+
axios depends on a native ES6 Promise implementation to be [supported](http://caniuse.com/promises).
42+
If your environment doesn't support ES6 Promises, you can [polyfill](https://github.com/jakearchibald/es6-promise)
43+
3944
## Example
4045

4146
Performing a `GET` request
@@ -292,8 +297,6 @@ axios.get('/user?ID=12345');
292297

293298
axios is heavily inspired by the [$http service](https://docs.angularjs.org/api/ng/service/$http) provided in [Angular](https://angularjs.org/). Ultimately axios is an effort to provide a standalone `$http`-like service for use outside of Angular.
294299

295-
axios uses the [es6-promise](https://github.com/jakearchibald/es6-promise) polyfill by [Jake Archibald](https://github.com/jakearchibald). Until we [can use](http://caniuse.com/promises) ES6 Promises natively in all browsers, this polyfill is a life saver.
296-
297300
## License
298301

299302
MIT

0 commit comments

Comments
 (0)