2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

Releasing 0.15.2

This commit is contained in:
Nick Uraltsev
2016-10-17 18:29:32 -07:00
parent 25a5e779b6
commit 3af756049f
6 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "axios",
"main": "./dist/axios.js",
"version": "0.15.1",
"version": "0.15.2",
"homepage": "https://github.com/mzabriskie/axios",
"authors": [
"Matt Zabriskie"
+5 -1
View File
@@ -1,4 +1,4 @@
/* 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
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{
"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": {