From 1c643cda5b98cc056f1af3ecf297ab50d9a388a6 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 27 Mar 2014 13:13:56 -0700 Subject: [PATCH] Remove unused vars. --- lodash.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lodash.js b/lodash.js index 1252eb89c..4200aea19 100644 --- a/lodash.js +++ b/lodash.js @@ -1105,7 +1105,6 @@ var isArr = isArray(value); if (isDeep) { // check for circular references and return corresponding clone - var initedStack = !stackA; stackA || (stackA = []); stackB || (stackB = []); @@ -1656,7 +1655,6 @@ // assume cyclic structures are equal // 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) - var initedStack = !stackA; stackA || (stackA = []); stackB || (stackB = []); @@ -8367,10 +8365,10 @@ lodash.first = first; lodash.last = last; lodash.sample = sample; - lodash.take = first; - lodash.takeRight = last; - lodash.takeRightWhile = last; - lodash.takeWhile = first; + lodash.take = take; + lodash.takeRight = takeRight; + lodash.takeRightWhile = takeRightWhile; + lodash.takeWhile = takeWhile; // add aliases lodash.head = first;