We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fc0e26 commit ba66b59Copy full SHA for ba66b59
src/index.js
@@ -64,6 +64,14 @@ export default (function create(defaults) {
64
axios.put = createMethod('put', true);
65
axios.patch = createMethod('patch', true);
66
67
+ // hmmm.
68
+ axios.all = Promise.all;
69
+ axios.spread = function(fn) {
70
+ return function (results) {
71
+ return fn.apply(this, results);
72
+ };
73
74
+
75
function deepMerge(opts, overrides, lowerCase) {
76
if (Array.isArray(opts)) {
77
return opts.concat(overrides);
0 commit comments