From f3c06838352df8a9039433822a2f3aac91355a98 Mon Sep 17 00:00:00 2001 From: Iskren Chernev Date: Sat, 20 Jul 2013 19:11:20 -0200 Subject: [PATCH] Make jshint happy --- moment.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; }, -- 2.47.2