提交 b7b0b5d6 编写于 作者: M mzabriskie

Updating README

上级 1d3dbd66
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册