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