From: Iskren Chernev Date: Sun, 22 Mar 2015 22:06:41 +0000 (-0700) Subject: Fix jscs errors X-Git-Tag: 2.10.2~15^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38f4cd337e8a0d1bf3421069eee608fedc099d6d;p=thirdparty%2Fmoment.git Fix jscs errors --- diff --git a/src/lib/create/from-array.js b/src/lib/create/from-array.js index 51da52fd2..dea1e8515 100644 --- a/src/lib/create/from-array.js +++ b/src/lib/create/from-array.js @@ -11,7 +11,7 @@ function currentDateArray(config) { if (config._useUTC) { return [now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate()]; } - return [now.getFullYear(), now.getMonth(), now.getDate()]; + return [now.getFullYear(), now.getMonth(), now.getDate()]; } // convert an array to a date. diff --git a/src/lib/locale/constructor.js b/src/lib/locale/constructor.js index a22c2cff1..2c17b5d00 100644 --- a/src/lib/locale/constructor.js +++ b/src/lib/locale/constructor.js @@ -1,3 +1,2 @@ export function Locale() { - } diff --git a/src/lib/moment/add-subtract.js b/src/lib/moment/add-subtract.js index 3c10c5738..ebfe674b2 100644 --- a/src/lib/moment/add-subtract.js +++ b/src/lib/moment/add-subtract.js @@ -41,6 +41,6 @@ export function addSubtract (mom, duration, isAdding, updateOffset) { } } -export var add = createAdder( 1, 'add'); +export var add = createAdder(1, 'add'); export var subtract = createAdder(-1, 'subtract'); diff --git a/src/lib/units/hour.js b/src/lib/units/hour.js index c2e7eb22f..2c6836ae7 100644 --- a/src/lib/units/hour.js +++ b/src/lib/units/hour.js @@ -41,8 +41,8 @@ addRegexToken('hh', match1to2, match2); addParseToken(['H', 'HH'], HOUR); addParseToken(['a', 'A'], function (input, array, config) { - config._isPm = config._locale.isPM(input); - config._meridiem = input; + config._isPm = config._locale.isPM(input); + config._meridiem = input; }); addParseToken(['h', 'hh'], function (input, array, config) { array[HOUR] = toInt(input); diff --git a/src/locale/af.js b/src/locale/af.js index 76673226c..8a490ef19 100644 --- a/src/locale/af.js +++ b/src/locale/af.js @@ -61,4 +61,3 @@ export default moment.defineLocale('af', { doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar. } }); - diff --git a/src/test/locale/af.js b/src/test/locale/af.js index 0e99caee5..651208021 100644 --- a/src/test/locale/af.js +++ b/src/test/locale/af.js @@ -303,4 +303,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/ar-ma.js b/src/test/locale/ar-ma.js index ffc7a1dbc..3c15fe3c8 100644 --- a/src/test/locale/ar-ma.js +++ b/src/test/locale/ar-ma.js @@ -301,4 +301,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/ar-sa.js b/src/test/locale/ar-sa.js index c62799f20..909c8e82c 100644 --- a/src/test/locale/ar-sa.js +++ b/src/test/locale/ar-sa.js @@ -306,4 +306,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/ar-tn.js b/src/test/locale/ar-tn.js index 61fba3a39..e02f32b54 100644 --- a/src/test/locale/ar-tn.js +++ b/src/test/locale/ar-tn.js @@ -389,4 +389,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/az.js b/src/test/locale/az.js index c2955017d..a158a8265 100644 --- a/src/test/locale/az.js +++ b/src/test/locale/az.js @@ -313,4 +313,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/be.js b/src/test/locale/be.js index 12bf28ec2..e99e5e92c 100644 --- a/src/test/locale/be.js +++ b/src/test/locale/be.js @@ -358,4 +358,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/bg.js b/src/test/locale/bg.js index 8613a20e0..46a226d04 100644 --- a/src/test/locale/bg.js +++ b/src/test/locale/bg.js @@ -318,4 +318,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/bn.js b/src/test/locale/bn.js index bba57e413..7f4ab6b81 100644 --- a/src/test/locale/bn.js +++ b/src/test/locale/bn.js @@ -318,4 +318,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/bo.js b/src/test/locale/bo.js index d415d3480..0570b467f 100644 --- a/src/test/locale/bo.js +++ b/src/test/locale/bo.js @@ -319,4 +319,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/br.js b/src/test/locale/br.js index 12cb0f134..38ecefa15 100644 --- a/src/test/locale/br.js +++ b/src/test/locale/br.js @@ -259,4 +259,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/bs.js b/src/test/locale/bs.js index ca70a25dc..376febc65 100644 --- a/src/test/locale/bs.js +++ b/src/test/locale/bs.js @@ -335,4 +335,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/ca.js b/src/test/locale/ca.js index 1a0d06d58..427ff5108 100644 --- a/src/test/locale/ca.js +++ b/src/test/locale/ca.js @@ -303,4 +303,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/cs.js b/src/test/locale/cs.js index fcac9717c..ecfc6dc36 100644 --- a/src/test/locale/cs.js +++ b/src/test/locale/cs.js @@ -390,4 +390,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/cv.js b/src/test/locale/cv.js index e2d3bdaa4..ec19388d9 100644 --- a/src/test/locale/cv.js +++ b/src/test/locale/cv.js @@ -305,4 +305,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/cy.js b/src/test/locale/cy.js index f62418a32..18d9502aa 100644 --- a/src/test/locale/cy.js +++ b/src/test/locale/cy.js @@ -301,4 +301,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/da.js b/src/test/locale/da.js index 21e4c78ed..7c86dd30b 100644 --- a/src/test/locale/da.js +++ b/src/test/locale/da.js @@ -253,4 +253,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/de-at.js b/src/test/locale/de-at.js index a2c4c680e..001dfddf1 100644 --- a/src/test/locale/de-at.js +++ b/src/test/locale/de-at.js @@ -299,4 +299,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/de.js b/src/test/locale/de.js index ce2fbcd45..7bffe5dcc 100644 --- a/src/test/locale/de.js +++ b/src/test/locale/de.js @@ -298,4 +298,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/el.js b/src/test/locale/el.js index f3ec8c9ee..1ac2fb4e3 100644 --- a/src/test/locale/el.js +++ b/src/test/locale/el.js @@ -351,4 +351,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/en-au.js b/src/test/locale/en-au.js index ee666ce1b..df5457463 100644 --- a/src/test/locale/en-au.js +++ b/src/test/locale/en-au.js @@ -294,4 +294,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MMM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/en-ca.js b/src/test/locale/en-ca.js index a9d6583ce..56e032283 100644 --- a/src/test/locale/en-ca.js +++ b/src/test/locale/en-ca.js @@ -312,4 +312,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/en-gb.js b/src/test/locale/en-gb.js index c308dc3c6..86266702b 100644 --- a/src/test/locale/en-gb.js +++ b/src/test/locale/en-gb.js @@ -303,4 +303,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/en.js b/src/test/locale/en.js index 1eaa64c6a..090a86911 100644 --- a/src/test/locale/en.js +++ b/src/test/locale/en.js @@ -313,4 +313,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/eo.js b/src/test/locale/eo.js index a595db996..366e07c9e 100644 --- a/src/test/locale/eo.js +++ b/src/test/locale/eo.js @@ -304,4 +304,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/es.js b/src/test/locale/es.js index f872dc274..fb6284a22 100644 --- a/src/test/locale/es.js +++ b/src/test/locale/es.js @@ -306,4 +306,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/et.js b/src/test/locale/et.js index 6b9cd855a..e1d91048f 100644 --- a/src/test/locale/et.js +++ b/src/test/locale/et.js @@ -326,4 +326,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/eu.js b/src/test/locale/eu.js index eca8051c9..e7674360c 100644 --- a/src/test/locale/eu.js +++ b/src/test/locale/eu.js @@ -302,4 +302,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/fa.js b/src/test/locale/fa.js index 4e514d701..c49808691 100644 --- a/src/test/locale/fa.js +++ b/src/test/locale/fa.js @@ -293,4 +293,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/fi.js b/src/test/locale/fi.js index cb38bd6d1..75701cae0 100644 --- a/src/test/locale/fi.js +++ b/src/test/locale/fi.js @@ -303,4 +303,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/fo.js b/src/test/locale/fo.js index 51832418f..e753fcf2d 100644 --- a/src/test/locale/fo.js +++ b/src/test/locale/fo.js @@ -253,4 +253,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/fr-ca.js b/src/test/locale/fr-ca.js index 860cccc47..c6829a56d 100644 --- a/src/test/locale/fr-ca.js +++ b/src/test/locale/fr-ca.js @@ -309,4 +309,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/fr.js b/src/test/locale/fr.js index ff36276c6..58b35c235 100644 --- a/src/test/locale/fr.js +++ b/src/test/locale/fr.js @@ -301,4 +301,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/fy.js b/src/test/locale/fy.js index 0ab22d736..18b71c7f9 100644 --- a/src/test/locale/fy.js +++ b/src/test/locale/fy.js @@ -307,4 +307,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/gl.js b/src/test/locale/gl.js index 92986f6ac..15d0b9719 100644 --- a/src/test/locale/gl.js +++ b/src/test/locale/gl.js @@ -311,4 +311,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/he.js b/src/test/locale/he.js index 5c3bbcf92..6fc28bbe9 100644 --- a/src/test/locale/he.js +++ b/src/test/locale/he.js @@ -267,4 +267,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/hi.js b/src/test/locale/hi.js index 1555a4b94..c3940bb2d 100644 --- a/src/test/locale/hi.js +++ b/src/test/locale/hi.js @@ -330,4 +330,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/hr.js b/src/test/locale/hr.js index 212cec6fe..e63c3de08 100644 --- a/src/test/locale/hr.js +++ b/src/test/locale/hr.js @@ -335,4 +335,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/hu.js b/src/test/locale/hu.js index 9b1c9b1f2..bde8e6733 100644 --- a/src/test/locale/hu.js +++ b/src/test/locale/hu.js @@ -316,4 +316,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/hy-am.js b/src/test/locale/hy-am.js index 02ba21403..be4519485 100644 --- a/src/test/locale/hy-am.js +++ b/src/test/locale/hy-am.js @@ -372,4 +372,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/id.js b/src/test/locale/id.js index fa3f22eb4..27f744ec6 100644 --- a/src/test/locale/id.js +++ b/src/test/locale/id.js @@ -277,4 +277,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/is.js b/src/test/locale/is.js index 1f1dba7df..76b9cef2f 100644 --- a/src/test/locale/is.js +++ b/src/test/locale/is.js @@ -309,4 +309,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/it.js b/src/test/locale/it.js index d086dfee1..a39821850 100644 --- a/src/test/locale/it.js +++ b/src/test/locale/it.js @@ -301,4 +301,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/ja.js b/src/test/locale/ja.js index 3892d336a..5cb355981 100644 --- a/src/test/locale/ja.js +++ b/src/test/locale/ja.js @@ -265,4 +265,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/ka.js b/src/test/locale/ka.js index 15f059b80..450ac8f29 100644 --- a/src/test/locale/ka.js +++ b/src/test/locale/ka.js @@ -315,4 +315,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/km.js b/src/test/locale/km.js index 87b3a5308..63daa8736 100644 --- a/src/test/locale/km.js +++ b/src/test/locale/km.js @@ -333,4 +333,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/ko.js b/src/test/locale/ko.js index d30092819..abc5be7e8 100644 --- a/src/test/locale/ko.js +++ b/src/test/locale/ko.js @@ -338,4 +338,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/lb.js b/src/test/locale/lb.js index a44d0342d..e570c4ed3 100644 --- a/src/test/locale/lb.js +++ b/src/test/locale/lb.js @@ -173,4 +173,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/lt.js b/src/test/locale/lt.js index b89dd213a..54197f4ca 100644 --- a/src/test/locale/lt.js +++ b/src/test/locale/lt.js @@ -319,4 +319,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/lv.js b/src/test/locale/lv.js index 83924e008..fdf309128 100644 --- a/src/test/locale/lv.js +++ b/src/test/locale/lv.js @@ -302,4 +302,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/mk.js b/src/test/locale/mk.js index f17466024..40a7bb2cf 100644 --- a/src/test/locale/mk.js +++ b/src/test/locale/mk.js @@ -317,4 +317,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/ml.js b/src/test/locale/ml.js index 4b9e6936e..a807ed9c6 100644 --- a/src/test/locale/ml.js +++ b/src/test/locale/ml.js @@ -318,4 +318,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/mr.js b/src/test/locale/mr.js index edfa725eb..bb227f52c 100644 --- a/src/test/locale/mr.js +++ b/src/test/locale/mr.js @@ -330,4 +330,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/ms-my.js b/src/test/locale/ms-my.js index ca64a0e72..aa6c7d248 100644 --- a/src/test/locale/ms-my.js +++ b/src/test/locale/ms-my.js @@ -323,4 +323,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/my.js b/src/test/locale/my.js index b3ae7f53a..999f855eb 100644 --- a/src/test/locale/my.js +++ b/src/test/locale/my.js @@ -390,4 +390,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/nb.js b/src/test/locale/nb.js index 715ff3200..38f2eb7c4 100644 --- a/src/test/locale/nb.js +++ b/src/test/locale/nb.js @@ -303,4 +303,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/ne.js b/src/test/locale/ne.js index 8ca59cd2e..c12643456 100644 --- a/src/test/locale/ne.js +++ b/src/test/locale/ne.js @@ -329,4 +329,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/nl.js b/src/test/locale/nl.js index fd37ab23d..ef765a1f0 100644 --- a/src/test/locale/nl.js +++ b/src/test/locale/nl.js @@ -307,4 +307,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/nn.js b/src/test/locale/nn.js index ff4991e74..30f8dc0c9 100644 --- a/src/test/locale/nn.js +++ b/src/test/locale/nn.js @@ -302,4 +302,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/pl.js b/src/test/locale/pl.js index 42c064f72..b5fdbf184 100644 --- a/src/test/locale/pl.js +++ b/src/test/locale/pl.js @@ -323,4 +323,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/pt-br.js b/src/test/locale/pt-br.js index f1a2c3b73..c5fa1b0f5 100644 --- a/src/test/locale/pt-br.js +++ b/src/test/locale/pt-br.js @@ -300,4 +300,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/pt.js b/src/test/locale/pt.js index 406d7a996..7b02bc1fe 100644 --- a/src/test/locale/pt.js +++ b/src/test/locale/pt.js @@ -298,4 +298,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/ro.js b/src/test/locale/ro.js index d9a450263..b4ea10eef 100644 --- a/src/test/locale/ro.js +++ b/src/test/locale/ro.js @@ -310,4 +310,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/ru.js b/src/test/locale/ru.js index db6cc72ff..9b12ae821 100644 --- a/src/test/locale/ru.js +++ b/src/test/locale/ru.js @@ -411,4 +411,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/sk.js b/src/test/locale/sk.js index 61c8cbf39..d2089a478 100644 --- a/src/test/locale/sk.js +++ b/src/test/locale/sk.js @@ -390,4 +390,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/sl.js b/src/test/locale/sl.js index ac0fdfc4a..23ed7a61d 100644 --- a/src/test/locale/sl.js +++ b/src/test/locale/sl.js @@ -334,4 +334,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/sq.js b/src/test/locale/sq.js index 8adb7a62b..0d1e5fd0a 100644 --- a/src/test/locale/sq.js +++ b/src/test/locale/sq.js @@ -318,4 +318,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/sr-cyrl.js b/src/test/locale/sr-cyrl.js index a54972471..434c55996 100644 --- a/src/test/locale/sr-cyrl.js +++ b/src/test/locale/sr-cyrl.js @@ -337,4 +337,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/sr.js b/src/test/locale/sr.js index a6f492fc4..aec9bb2d3 100644 --- a/src/test/locale/sr.js +++ b/src/test/locale/sr.js @@ -337,4 +337,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/sv.js b/src/test/locale/sv.js index 4dcb0d109..019eb347d 100644 --- a/src/test/locale/sv.js +++ b/src/test/locale/sv.js @@ -302,4 +302,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/ta.js b/src/test/locale/ta.js index d07b4665d..2f6c4a6e1 100644 --- a/src/test/locale/ta.js +++ b/src/test/locale/ta.js @@ -317,4 +317,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/th.js b/src/test/locale/th.js index e37f6da02..e138cd23f 100644 --- a/src/test/locale/th.js +++ b/src/test/locale/th.js @@ -265,4 +265,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/tl-ph.js b/src/test/locale/tl-ph.js index 86c375104..183ffe9b7 100644 --- a/src/test/locale/tl-ph.js +++ b/src/test/locale/tl-ph.js @@ -301,4 +301,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/tr.js b/src/test/locale/tr.js index e4ccbf70d..4deda0942 100644 --- a/src/test/locale/tr.js +++ b/src/test/locale/tr.js @@ -313,4 +313,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/tzm-latn.js b/src/test/locale/tzm-latn.js index 1b06818d0..3f97f412d 100644 --- a/src/test/locale/tzm-latn.js +++ b/src/test/locale/tzm-latn.js @@ -300,4 +300,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/tzm.js b/src/test/locale/tzm.js index a3d0891d0..137011ff8 100644 --- a/src/test/locale/tzm.js +++ b/src/test/locale/tzm.js @@ -300,4 +300,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/uk.js b/src/test/locale/uk.js index d5f1d31b6..97f588932 100644 --- a/src/test/locale/uk.js +++ b/src/test/locale/uk.js @@ -335,4 +335,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/uz.js b/src/test/locale/uz.js index 2beb3e3bf..1d40418c4 100644 --- a/src/test/locale/uz.js +++ b/src/test/locale/uz.js @@ -303,4 +303,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/vi.js b/src/test/locale/vi.js index 9850af046..d3c1bd7f4 100644 --- a/src/test/locale/vi.js +++ b/src/test/locale/vi.js @@ -313,4 +313,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +}); diff --git a/src/test/locale/zh-tw.js b/src/test/locale/zh-tw.js index a219ac876..e95155ab1 100644 --- a/src/test/locale/zh-tw.js +++ b/src/test/locale/zh-tw.js @@ -294,4 +294,4 @@ test('strict ordinal parsing', function (assert) { testMoment = moment(ordinalStr, 'YYYY MM Do', true); assert.ok(testMoment.isValid(), 'strict ordinal parsing ' + i); } -}); \ No newline at end of file +});