From 34ce57ade8853a1a251d3664a1f2b66e15c5fdcf Mon Sep 17 00:00:00 2001 From: mzabriskie Date: Thu, 18 Jun 2015 23:19:26 -0600 Subject: [PATCH] Updating README --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 62879c8..cfac61b 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,11 @@ $ npm install axios Tested to work with >=IE8, Chrome, Firefox, Safari, and Opera. +## Promises + +axios depends on a native ES6 Promise implementation to be [supported](http://caniuse.com/promises). +If your environment doesn't support ES6 Promises, you can [polyfill](https://github.com/jakearchibald/es6-promise) + ## Example Performing a `GET` request @@ -292,8 +297,6 @@ axios.get('/user?ID=12345'); 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. -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. - ## License MIT