From: Iskren Chernev Date: Sat, 20 Jul 2013 21:11:20 +0000 (-0200) Subject: Make jshint happy X-Git-Tag: 2.2.0~40^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F915%2Fhead;p=thirdparty%2Fmoment.git Make jshint happy --- diff --git a/moment.js b/moment.js index 4e29df475..f499ad298 100644 --- a/moment.js +++ b/moment.js @@ -1182,8 +1182,9 @@ invalidAt: function () { var i, arr1 = this._a, arr2 = (this._isUTC ? moment.utc(this._a) : moment(this._a)).toArray(); - for (i = 6; i >= 0 && arr1[i] === arr2[i]; --i) - ; + for (i = 6; i >= 0 && arr1[i] === arr2[i]; --i) { + // empty loop body + } return i; },