mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Remove run alias.
This commit is contained in:
@@ -14357,7 +14357,7 @@
|
||||
lodash.prototype.next = wrapperNext;
|
||||
lodash.prototype.plant = wrapperPlant;
|
||||
lodash.prototype.reverse = wrapperReverse;
|
||||
lodash.prototype.run = lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;
|
||||
lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;
|
||||
|
||||
if (iteratorSymbol) {
|
||||
lodash.prototype[iteratorSymbol] = wrapperToIterator;
|
||||
|
||||
@@ -22816,16 +22816,15 @@
|
||||
});
|
||||
|
||||
QUnit.test('should be aliased', function(assert) {
|
||||
assert.expect(3);
|
||||
assert.expect(2);
|
||||
|
||||
if (!isNpm) {
|
||||
var expected = _.prototype.value;
|
||||
assert.strictEqual(_.prototype.run, expected);
|
||||
assert.strictEqual(_.prototype.toJSON, expected);
|
||||
assert.strictEqual(_.prototype.valueOf, expected);
|
||||
}
|
||||
else {
|
||||
skipTest(assert, 3);
|
||||
skipTest(assert, 2);
|
||||
}
|
||||
});
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user