Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ded committed Jul 16, 2014
1 parent 0501c91 commit e3dd449
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions valentine.js
Expand Up @@ -46,11 +46,11 @@
}

, reduce: function (o, i, m, c) {
return ap.reduce.call(o, i, m, c);
return ap.reduce.call(o, v.bind(c, i), m);
}

, reduceRight: function (o, i, m, c) {
return ap.reduceRight.call(o, i, m, c)
return ap.reduceRight.call(o, v.bind(c, i), m)
}

, find: function (obj, iterator, context) {
Expand Down Expand Up @@ -418,6 +418,16 @@
}(n))
}

, series: function (tasks, callback) {
o.waterfall(tasks.map(function (task) {
return function (f) {
task(function (err) {
f(err)
})
}
}), callback)
}

, queue: function queue(ar) {
return new Queue(is.arrLike(ar) ? ar : o.toArray(arguments))
}
Expand Down
2 changes: 1 addition & 1 deletion valentine.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e3dd449

Please sign in to comment.