2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-21 13:24:11 +03:00

Merge branch 'master' of github.com:mzabriskie/axios

This commit is contained in:
mzabriskie
2015-09-28 18:34:10 -06:00
3 changed files with 5 additions and 2 deletions
Vendored
+2 -2
View File
@@ -26,8 +26,8 @@ declare module axios {
}
interface Promise {
then(response: axios.Response): axios.Promise;
catch(response: axios.Response): axios.Promise;
then(onFulfilled:(response: axios.Response) => void): axios.Promise;
catch(onRejected:(response: axios.Response) => void): axios.Promise;
}
interface RequestOptions {
+1
View File
@@ -9,6 +9,7 @@ var axios = module.exports = function (config) {
config = utils.merge({
method: 'get',
headers: {},
timeout: defaults.timeout,
transformRequest: defaults.transformRequest,
transformResponse: defaults.transformResponse
}, config);
+2
View File
@@ -31,6 +31,7 @@
"es6-promise": "^3.0.2",
"grunt": "^0.4.5",
"grunt-banner": "^0.5.0",
"grunt-cli": "^0.1.13",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-nodeunit": "^0.4.1",
"grunt-contrib-watch": "^0.6.1",
@@ -49,6 +50,7 @@
"karma-webpack": "^1.7.0",
"load-grunt-tasks": "^3.2.0",
"minimist": "^1.1.3",
"phantomjs": "^1.9.18",
"webpack": "^1.11.0",
"webpack-dev-server": "^1.10.1"
},