Skip to content

Commit

Permalink
update minified build
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Early committed Jan 8, 2016
1 parent 7fcc69c commit 80f1793
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
5 changes: 2 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,5 @@
],
"authors": [
"Caolan McMahon"
],
"version": "1.5.1"
}
]
}
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
"scripts": [
"lib/async.js"
]
}
}
7 changes: 4 additions & 3 deletions dist/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@
var dep;
while (len--) {
if (!(dep = tasks[requires[len]])) {
throw new Error('Has inexistant dependency');
throw new Error('Has nonexistent dependency in ' + requires.join(', '));
}
if (_isArray(dep) && _indexOf(dep, k) >= 0) {
throw new Error('Has cyclic dependencies');
Expand Down Expand Up @@ -1085,16 +1085,17 @@
async.memoize = function (fn, hasher) {
var memo = {};
var queues = {};
var has = Object.prototype.hasOwnProperty;
hasher = hasher || identity;
var memoized = _restParam(function memoized(args) {
var callback = args.pop();
var key = hasher.apply(null, args);
if (key in memo) {
if (has.call(memo, key)) {
async.setImmediate(function () {
callback.apply(null, memo[key]);
});
}
else if (key in queues) {
else if (has.call(queues, key)) {
queues[key].push(callback);
}
else {
Expand Down
2 changes: 1 addition & 1 deletion dist/async.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/async.min.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@
"tests"
]
}
}
}

0 comments on commit 80f1793

Please sign in to comment.