From: mdxs Date: Tue, 3 Dec 2013 13:22:04 +0000 (+0000) Subject: Dropping unused variables X-Git-Tag: 2.5.0^2~20^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1330%2Fhead;p=thirdparty%2Fmoment.git Dropping unused variables --- diff --git a/moment.js b/moment.js index 7dd6c9ab4..2729a8e8d 100644 --- a/moment.js +++ b/moment.js @@ -437,8 +437,7 @@ function normalizeObjectUnits(inputObject) { var normalizedInput = {}, normalizedProp, - prop, - index; + prop; for (prop in inputObject) { if (inputObject.hasOwnProperty(prop)) { @@ -1576,9 +1575,7 @@ match = null, sign, ret, - parseIso, - timeEmpty, - dateTimeEmpty; + parseIso; if (moment.isDuration(input)) { duration = {