mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27:50 +00:00
Remove unused vars.
This commit is contained in:
10
lodash.js
10
lodash.js
@@ -1105,7 +1105,6 @@
|
|||||||
var isArr = isArray(value);
|
var isArr = isArray(value);
|
||||||
if (isDeep) {
|
if (isDeep) {
|
||||||
// check for circular references and return corresponding clone
|
// check for circular references and return corresponding clone
|
||||||
var initedStack = !stackA;
|
|
||||||
stackA || (stackA = []);
|
stackA || (stackA = []);
|
||||||
stackB || (stackB = []);
|
stackB || (stackB = []);
|
||||||
|
|
||||||
@@ -1656,7 +1655,6 @@
|
|||||||
// assume cyclic structures are equal
|
// assume cyclic structures are equal
|
||||||
// the algorithm for detecting cyclic structures is adapted from ES 5.1
|
// the algorithm for detecting cyclic structures is adapted from ES 5.1
|
||||||
// section 15.12.3, abstract operation `JO` (http://es5.github.io/#x15.12.3)
|
// section 15.12.3, abstract operation `JO` (http://es5.github.io/#x15.12.3)
|
||||||
var initedStack = !stackA;
|
|
||||||
stackA || (stackA = []);
|
stackA || (stackA = []);
|
||||||
stackB || (stackB = []);
|
stackB || (stackB = []);
|
||||||
|
|
||||||
@@ -8367,10 +8365,10 @@
|
|||||||
lodash.first = first;
|
lodash.first = first;
|
||||||
lodash.last = last;
|
lodash.last = last;
|
||||||
lodash.sample = sample;
|
lodash.sample = sample;
|
||||||
lodash.take = first;
|
lodash.take = take;
|
||||||
lodash.takeRight = last;
|
lodash.takeRight = takeRight;
|
||||||
lodash.takeRightWhile = last;
|
lodash.takeRightWhile = takeRightWhile;
|
||||||
lodash.takeWhile = first;
|
lodash.takeWhile = takeWhile;
|
||||||
|
|
||||||
// add aliases
|
// add aliases
|
||||||
lodash.head = first;
|
lodash.head = first;
|
||||||
|
|||||||
Reference in New Issue
Block a user