summaryrefslogtreecommitdiff
path: root/dist/async.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/async.js')
-rw-r--r--dist/async.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/dist/async.js b/dist/async.js
index b964a50..a7d903b 100644
--- a/dist/async.js
+++ b/dist/async.js
@@ -2404,8 +2404,6 @@
});
});
- var reverse = Array.prototype.reverse;
-
/**
* Creates a function which is a composition of the passed asynchronous
* functions. Each function consumes the return value of the function that
@@ -2441,9 +2439,9 @@
* // result now equals 15
* });
*/
- function compose() /* functions... */{
- return seq.apply(null, reverse.call(arguments));
- }
+ var compose = rest(function (args) {
+ return seq.apply(null, args.reverse());
+ });
function concat$1(eachfn, arr, fn, callback) {
var result = [];