2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

Fixing issue #8

This commit is contained in:
mzabriskie
2014-09-16 11:52:56 -06:00
parent 1fa35ced3c
commit 59eb2b6204
10 changed files with 50 additions and 9 deletions
+3 -1
View File
@@ -51,7 +51,9 @@ var axios = module.exports = function axios(config) {
axios.defaults = defaults;
// Expose all/spread
axios.all = Promise.all;
axios.all = function (promises) {
return Promise.all(promises);
};
axios.spread = spread;
// Provide aliases for supported request methods