mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Whitespace nits. [ci skip]
This commit is contained in:
@@ -348,7 +348,7 @@
|
|||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The base implementation of `_.isFunction` without support for environments
|
* The base implementation of `_.isFunction` without support for environments
|
||||||
* with incorrect `typeof` results.
|
* with incorrect `typeof` results.
|
||||||
|
|||||||
@@ -10299,7 +10299,7 @@
|
|||||||
strictEqual(object.memoized(1), 6);
|
strictEqual(object.memoized(1), 6);
|
||||||
strictEqual(object.memoized(2), 7);
|
strictEqual(object.memoized(2), 7);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should check cache for own properties', 1, function() {
|
test('should check cache for own properties', 1, function() {
|
||||||
var memoized = _.memoize(_.identity);
|
var memoized = _.memoize(_.identity);
|
||||||
|
|
||||||
@@ -11377,7 +11377,7 @@
|
|||||||
var modded = _.modArgs(fn, doubled, _.identity);
|
var modded = _.modArgs(fn, doubled, _.identity);
|
||||||
deepEqual(modded(5), [10]);
|
deepEqual(modded(5), [10]);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should not set a `this` binding', 1, function() {
|
test('should not set a `this` binding', 1, function() {
|
||||||
var modded = _.modArgs(function(x) {
|
var modded = _.modArgs(function(x) {
|
||||||
return this[x];
|
return this[x];
|
||||||
@@ -16823,7 +16823,7 @@
|
|||||||
|
|
||||||
deepEqual(actual, expected);
|
deepEqual(actual, expected);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should not set a `this` binding', 1, function() {
|
test('should not set a `this` binding', 1, function() {
|
||||||
var p = _.wrap(_.escape, function(func) {
|
var p = _.wrap(_.escape, function(func) {
|
||||||
return '<p>' + func(this.text) + '</p>';
|
return '<p>' + func(this.text) + '</p>';
|
||||||
|
|||||||
Reference in New Issue
Block a user