提交 3af75604 编写于 作者: N Nick Uraltsev

Releasing 0.15.2

上级 25a5e779
{
"name": "axios",
"main": "./dist/axios.js",
"version": "0.15.1",
"version": "0.15.2",
"homepage": "https://github.com/mzabriskie/axios",
"authors": [
"Matt Zabriskie"
......
/* axios v0.15.1 | (c) 2016 by Matt Zabriskie */
/* axios v0.15.2 | (c) 2016 by Matt Zabriskie */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
......@@ -799,6 +799,10 @@ return /******/ (function(modules) { // webpackBootstrap
if (config.cancelToken) {
// Handle cancellation
config.cancelToken.promise.then(function onCanceled(cancel) {
if (!request) {
return;
}
request.abort();
reject(cancel);
// Clean up request
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
{
"name": "axios",
"version": "0.15.1",
"version": "0.15.2",
"description": "Promise based HTTP client for the browser and node.js",
"main": "index.js",
"scripts": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册