2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-08 17:22:34 +03:00

Merge pull request #106 from theverything/return-from-spread

return result from callback
This commit is contained in:
Matt Zabriskie
2015-09-21 16:45:17 -06:00
3 changed files with 21 additions and 5 deletions
+1 -1
View File
@@ -22,6 +22,6 @@
*/
module.exports = function spread(callback) {
return function (arr) {
callback.apply(null, arr);
return callback.apply(null, arr);
};
};