Skip to content

Commit 80f1793

Browse files
author
Alexander Early
committed
update minified build
1 parent 7fcc69c commit 80f1793

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

bower.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,5 @@
5252
],
5353
"authors": [
5454
"Caolan McMahon"
55-
],
56-
"version": "1.5.1"
57-
}
55+
]
56+
}

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
"scripts": [
1515
"lib/async.js"
1616
]
17-
}
17+
}

dist/async.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@
580580
var dep;
581581
while (len--) {
582582
if (!(dep = tasks[requires[len]])) {
583-
throw new Error('Has inexistant dependency');
583+
throw new Error('Has nonexistent dependency in ' + requires.join(', '));
584584
}
585585
if (_isArray(dep) && _indexOf(dep, k) >= 0) {
586586
throw new Error('Has cyclic dependencies');
@@ -1085,16 +1085,17 @@
10851085
async.memoize = function (fn, hasher) {
10861086
var memo = {};
10871087
var queues = {};
1088+
var has = Object.prototype.hasOwnProperty;
10881089
hasher = hasher || identity;
10891090
var memoized = _restParam(function memoized(args) {
10901091
var callback = args.pop();
10911092
var key = hasher.apply(null, args);
1092-
if (key in memo) {
1093+
if (has.call(memo, key)) {
10931094
async.setImmediate(function () {
10941095
callback.apply(null, memo[key]);
10951096
});
10961097
}
1097-
else if (key in queues) {
1098+
else if (has.call(queues, key)) {
10981099
queues[key].push(callback);
10991100
}
11001101
else {

dist/async.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/async.min.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@
8282
"tests"
8383
]
8484
}
85-
}
85+
}

0 commit comments

Comments
 (0)