mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Bump to v0.8.1.
Former-commit-id: 1b63f03d4a7ca0cdc66e44cd987fddecaf88f9ce
This commit is contained in:
@@ -1767,7 +1767,7 @@
|
||||
var thisArg,
|
||||
array = ['a'],
|
||||
callback = function() { thisArg = this; },
|
||||
useStrict = (function() { return this; }).call(null) === null;
|
||||
expected = (function() { return this; }).call(null);
|
||||
|
||||
var funcs = [
|
||||
'countBy',
|
||||
@@ -1809,10 +1809,10 @@
|
||||
func(array, callback, null);
|
||||
}
|
||||
|
||||
if (useStrict) {
|
||||
if (expected === null) {
|
||||
deepEqual(thisArg, null, message);
|
||||
} else {
|
||||
equal(thisArg, window, message);
|
||||
equal(thisArg, expected, message);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user