http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/blob/77894697/tests/tests.js
----------------------------------------------------------------------
diff --git a/tests/tests.js b/tests/tests.js
index 30e8398..bd12b80 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -19,13 +19,13 @@
 *
 */
 
-/* jshint jasmine: true */
+/* eslint-env jasmine */
 /* global cordova, GlobalizationError */
 
 exports.defineAutoTests = function () {
-    var isWindowsPhone = cordova.platformId == 'windowsphone',
-        isWindows = (cordova.platformId === "windows") || (cordova.platformId 
=== "windows8"),
-        isBrowser = cordova.platformId === "browser";
+    var isWindowsPhone = cordova.platformId === 'windowsphone';
+    var isWindows = (cordova.platformId === 'windows') || (cordova.platformId 
=== 'windows8');
+    var isBrowser = cordova.platformId === 'browser';
 
     var fail = function (done) {
         expect(true).toBe(false);
@@ -34,11 +34,11 @@ exports.defineAutoTests = function () {
 
     describe('Globalization (navigator.globalization)', function () {
 
-        it("globalization.spec.1 should exist", function () {
+        it('globalization.spec.1 should exist', function () {
             expect(navigator.globalization).toBeDefined();
         });
 
-        describe("getPreferredLanguage", function () {
+        describe('getPreferredLanguage', function () {
             var checkPreferredLanguage = function (a) {
                 expect(a).toBeDefined();
                 expect(typeof a).toBe('object');
@@ -46,18 +46,18 @@ exports.defineAutoTests = function () {
                 expect(typeof a.value).toBe('string');
                 expect(a.value.length > 0).toBe(true);
             };
-            it("globalization.spec.1 should exist", function () {
+            it('globalization.spec.1 should exist', function () {
                 expect(typeof 
navigator.globalization.getPreferredLanguage).toBeDefined();
-                expect(typeof navigator.globalization.getPreferredLanguage == 
'function').toBe(true);
+                expect(typeof navigator.globalization.getPreferredLanguage === 
'function').toBe(true);
             });
-            it("globalization.spec.3 getPreferredLanguage success callback 
should be called with a Properties object", function (done) {
+            it('globalization.spec.3 getPreferredLanguage success callback 
should be called with a Properties object', function (done) {
                 navigator.globalization.getPreferredLanguage(function (a) {
                     checkPreferredLanguage(a);
                     done();
                 },
                 fail.bind(null, done));
             });
-            it("globalization.spec.4 getPreferredLanguage return string should 
contain one or more language subtags separated by hyphen", function (done) {
+            it('globalization.spec.4 getPreferredLanguage return string should 
contain one or more language subtags separated by hyphen', function (done) {
                 navigator.globalization.getPreferredLanguage(function (a) {
                     checkPreferredLanguage(a);
                     expect(a.value.indexOf('_')).toBe(-1);
@@ -71,7 +71,7 @@ exports.defineAutoTests = function () {
             });
         });
 
-        describe("getLocaleName", function () {
+        describe('getLocaleName', function () {
             var checkLocaleName = function (a) {
                 expect(a).toBeDefined();
                 expect(typeof a).toBe('object');
@@ -79,21 +79,21 @@ exports.defineAutoTests = function () {
                 expect(typeof a.value).toBe('string');
                 expect(a.value.length > 0).toBe(true);
             };
-            it("globalization.spec.1 should exist", function () {
+            it('globalization.spec.1 should exist', function () {
                 expect(typeof 
navigator.globalization.getLocaleName).toBeDefined();
-                expect(typeof navigator.globalization.getLocaleName == 
'function').toBe(true);
+                expect(typeof navigator.globalization.getLocaleName === 
'function').toBe(true);
             });
-            it("globalization.spec.3 getLocaleName success callback should be 
called with a Properties object", function (done) {
+            it('globalization.spec.3 getLocaleName success callback should be 
called with a Properties object', function (done) {
                 navigator.globalization.getLocaleName(function (a) {
                     checkLocaleName(a);
                     done();
                 }, fail.bind(null, done));
             });
-            it("globalization.spec.4 getLocaleName return string should have a 
hyphen", function (done) {
+            it('globalization.spec.4 getLocaleName return string should have a 
hyphen', function (done) {
                 navigator.globalization.getLocaleName(function (a) {
                     checkLocaleName(a);
                     expect(a.value.indexOf('_')).toBe(-1);
-                    if (!isBrowser){
+                    if (!isBrowser) {
                         // The browser implementation returns non-BCP 47 
compatible
                         // value in Chrome so we need to skip this 
expectation. See
                         // 
https://github.com/apache/cordova-plugin-globalization/blob/21f8a0ffa5aa2497ee970b6b5092b4c65fc4bf7e/README.md#browser-quirks-1
@@ -105,7 +105,7 @@ exports.defineAutoTests = function () {
         });
 
         describe('Globalization Constants (window.Globalization)', function () 
{
-            it("globalization.spec.1 should exist", function () {
+            it('globalization.spec.1 should exist', function () {
                 expect(window.GlobalizationError).toBeDefined();
                 expect(window.GlobalizationError.UNKNOWN_ERROR).toBe(0);
                 expect(window.GlobalizationError.FORMATTING_ERROR).toBe(1);
@@ -114,7 +114,7 @@ exports.defineAutoTests = function () {
             });
         });
 
-        describe("dateToString", function () {
+        describe('dateToString', function () {
             var checkDateToString = function (a) {
                 expect(a).toBeDefined();
                 expect(typeof a).toBe('object');
@@ -122,45 +122,45 @@ exports.defineAutoTests = function () {
                 expect(typeof a.value).toBe('string');
                 expect(a.value.length > 0).toBe(true);
             };
-            it("globalization.spec.1 should exist", function () {
+            it('globalization.spec.1 should exist', function () {
                 expect(typeof 
navigator.globalization.dateToString).toBeDefined();
-                expect(typeof navigator.globalization.dateToString == 
'function').toBe(true);
+                expect(typeof navigator.globalization.dateToString === 
'function').toBe(true);
             });
-            it("globalization.spec.5 dateToString using default options, 
success callback should be called with a Properties object", function (done) {
+            it('globalization.spec.5 dateToString using default options, 
success callback should be called with a Properties object', function (done) {
                 navigator.globalization.dateToString(new Date(), function (a) {
                     checkDateToString(a);
                     done();
                 }, fail.bind(null, done));
             });
-            it("globalization.spec.6 dateToString using formatLength=short and 
selector=date options, success callback should be called with a Properties 
object", function (done) {
+            it('globalization.spec.6 dateToString using formatLength=short and 
selector=date options, success callback should be called with a Properties 
object', function (done) {
                 navigator.globalization.dateToString(new Date(), function (a) {
                     checkDateToString(a);
                     done();
                 }, fail.bind(null, done),
                 { formatLength: 'short', selector: 'date' });
             });
-            it("globalization.spec.7 dateToString using formatLength=full and 
selector=date options, success callback should be called with a Properties 
object", function (done) {
+            it('globalization.spec.7 dateToString using formatLength=full and 
selector=date options, success callback should be called with a Properties 
object', function (done) {
                 navigator.globalization.dateToString(new Date(), function (a) {
                     checkDateToString(a);
                     done();
                 }, fail.bind(null, done),
                 { formatLength: 'full', selector: 'date' });
             });
-            it("globalization.spec.8 dateToString using formatLength=medium 
and selector=date and time(default) options, success callback should be called 
with a Properties object", function (done) {
+            it('globalization.spec.8 dateToString using formatLength=medium 
and selector=date and time(default) options, success callback should be called 
with a Properties object', function (done) {
                 navigator.globalization.dateToString(new Date(), function (a) {
                     checkDateToString(a);
                     done();
                 }, fail.bind(null, done),
                 { formatLength: 'medium' });
             });
-            it("globalization.spec.9 dateToString using formatLength=long and 
selector=date and time(default) options, success callback should be called with 
a Properties object", function (done) {
+            it('globalization.spec.9 dateToString using formatLength=long and 
selector=date and time(default) options, success callback should be called with 
a Properties object', function (done) {
                 navigator.globalization.dateToString(new Date(), function (a) {
                     checkDateToString(a);
                     done();
                 }, fail.bind(null, done),
                 { formatLength: 'long' });
             });
-            it("globalization.spec.10 dateToString using formatLength=full and 
selector=date and time(default) options, success callback should be called with 
a Properties object", function (done) {
+            it('globalization.spec.10 dateToString using formatLength=full and 
selector=date and time(default) options, success callback should be called with 
a Properties object', function (done) {
                 navigator.globalization.dateToString(new Date(), function (a) {
                     checkDateToString(a);
                     done();
@@ -169,7 +169,7 @@ exports.defineAutoTests = function () {
             });
         });
 
-        describe("stringToDate", function () {
+        describe('stringToDate', function () {
             var checkStringToDate = function (a) {
                 expect(a).toBeDefined();
                 expect(typeof a).toBe('object');
@@ -194,11 +194,11 @@ exports.defineAutoTests = function () {
                 expect(a.millisecond).toBeDefined();
                 expect(typeof a.millisecond).toBe('number');
             };
-            it("globalization.spec.1 should exist", function () {
+            it('globalization.spec.1 should exist', function () {
                 expect(typeof 
navigator.globalization.stringToDate).toBeDefined();
-                expect(typeof navigator.globalization.stringToDate == 
'function').toBe(true);
+                expect(typeof navigator.globalization.stringToDate === 
'function').toBe(true);
             });
-            it("globalization.spec.12 stringToDate using default options, 
success callback should be called with a Properties object", function (done) {
+            it('globalization.spec.12 stringToDate using default options, 
success callback should be called with a Properties object', function (done) {
                 var win = function (a) {
                     checkStringToDate(a);
                     done();
@@ -208,7 +208,7 @@ exports.defineAutoTests = function () {
                     navigator.globalization.stringToDate(a.value, win, 
fail.bind(null, done));
                 }, fail.bind(null, done));
             });
-            it("globalization.spec.13 stringToDate using formatLength=short 
and selector=date options, success callback should be called with a Properties 
object", function (done) {
+            it('globalization.spec.13 stringToDate using formatLength=short 
and selector=date options, success callback should be called with a Properties 
object', function (done) {
                 var win = function (a) {
                     checkStringToDate(a);
                     done();
@@ -218,7 +218,7 @@ exports.defineAutoTests = function () {
                     navigator.globalization.stringToDate(a.value, win, 
fail.bind(null, done), { formatLength: 'short', selector: 'date' });
                 }, fail.bind(null, done), { formatLength: 'short', selector: 
'date' });
             });
-            it("globalization.spec.14 stringToDate using formatLength=full and 
selector=date options, success callback should be called with a Properties 
object", function (done) {
+            it('globalization.spec.14 stringToDate using formatLength=full and 
selector=date options, success callback should be called with a Properties 
object', function (done) {
                 var win = function (a) {
                     checkStringToDate(a);
                     done();
@@ -228,7 +228,7 @@ exports.defineAutoTests = function () {
                     navigator.globalization.stringToDate(a.value, win, 
fail.bind(null, done), { formatLength: 'full', selector: 'date' });
                 }, fail.bind(null, done), { formatLength: 'full', selector: 
'date' });
             });
-            it("globalization.spec.15 stringToDate using invalid date, error 
callback should be called with a GlobalizationError object", function (done) {
+            it('globalization.spec.15 stringToDate using invalid date, error 
callback should be called with a GlobalizationError object', function (done) {
                 navigator.globalization.stringToDate('notADate', 
fail.bind(null, done), function (a) {
                     expect(a).toBeDefined();
                     expect(typeof a).toBe('object');
@@ -237,13 +237,13 @@ exports.defineAutoTests = function () {
                     expect(a.code === 
GlobalizationError.PARSING_ERROR).toBe(true);
                     expect(a.message).toBeDefined();
                     expect(typeof a.message).toBe('string');
-                    expect(a.message !== "").toBe(true);
+                    expect(a.message !== '').toBe(true);
                     done();
                 }, { selector: 'foobar' });
             });
         });
 
-        describe("getDatePattern", function () {
+        describe('getDatePattern', function () {
             var checkDatePattern = function (a) {
                 expect(a).toBeDefined();
                 expect(typeof a).toBe('object');
@@ -275,17 +275,17 @@ exports.defineAutoTests = function () {
                 expect(a.dst_offset).toBeDefined();
                 expect(typeof a.dst_offset).toBe('number');
             };
-            it("globalization.spec.1 should exist", function () {
+            it('globalization.spec.1 should exist', function () {
                 expect(typeof 
navigator.globalization.getDatePattern).toBeDefined();
-                expect(typeof navigator.globalization.getDatePattern == 
'function').toBe(true);
+                expect(typeof navigator.globalization.getDatePattern === 
'function').toBe(true);
             });
-            it("globalization.spec.17 getDatePattern using default options, 
success callback should be called with a Properties object", function (done) {
+            it('globalization.spec.17 getDatePattern using default options, 
success callback should be called with a Properties object', function (done) {
                 navigator.globalization.getDatePattern(function (a) {
                     checkDatePattern(a);
                     done();
                 }, fail.bind(null, done));
             });
-            it("globalization.spec.18 getDatePattern using formatLength=medium 
and selector=date options, success callback should be called with a Properties 
object", function (done) {
+            it('globalization.spec.18 getDatePattern using formatLength=medium 
and selector=date options, success callback should be called with a Properties 
object', function (done) {
                 navigator.globalization.getDatePattern(function (a) {
                     checkDatePattern(a);
                     done();
@@ -294,7 +294,7 @@ exports.defineAutoTests = function () {
             });
         });
 
-        describe("getDateNames", function () {
+        describe('getDateNames', function () {
             var checkDateNames = function (a) {
                 expect(a).toBeDefined();
                 expect(typeof a).toBe('object');
@@ -303,38 +303,38 @@ exports.defineAutoTests = function () {
                 expect(a.value.length > 0).toBe(true);
                 expect(typeof a.value[0]).toBe('string');
             };
-            it("globalization.spec.1 should exist", function () {
+            it('globalization.spec.1 should exist', function () {
                 expect(typeof 
navigator.globalization.getDateNames).toBeDefined();
-                expect(typeof navigator.globalization.getDateNames == 
'function').toBe(true);
+                expect(typeof navigator.globalization.getDateNames === 
'function').toBe(true);
             });
-            it("globalization.spec.20 getDateNames using default options, 
success callback should be called with a Properties object", function (done) {
+            it('globalization.spec.20 getDateNames using default options, 
success callback should be called with a Properties object', function (done) {
                 navigator.globalization.getDateNames(function (a) {
                     checkDateNames(a);
                     done();
                 }, fail.bind(null, done));
             });
-            it("globalization.spec.21 getDateNames using type=narrow and 
item=days options, success callback should be called with a Properties object", 
function (done) {
+            it('globalization.spec.21 getDateNames using type=narrow and 
item=days options, success callback should be called with a Properties object', 
function (done) {
                 navigator.globalization.getDateNames(function (a) {
                     checkDateNames(a);
                     done();
                 }, fail.bind(null, done),
                 { type: 'narrow', item: 'days' });
             });
-            it("globalization.spec.22 getDateNames using type=narrow and 
item=months options, success callback should be called with a Properties 
object", function (done) {
+            it('globalization.spec.22 getDateNames using type=narrow and 
item=months options, success callback should be called with a Properties 
object', function (done) {
                 navigator.globalization.getDateNames(function (a) {
                     checkDateNames(a);
                     done();
                 }, fail.bind(null, done),
                 { type: 'narrow', item: 'months' });
             });
-            it("globalization.spec.23 getDateNames using type=wide and 
item=days options, success callback should be called with a Properties object", 
function (done) {
+            it('globalization.spec.23 getDateNames using type=wide and 
item=days options, success callback should be called with a Properties object', 
function (done) {
                 navigator.globalization.getDateNames(function (a) {
                     checkDateNames(a);
                     done();
                 }, fail.bind(null, done),
                 { type: 'wide', item: 'days' });
             });
-            it("globalization.spec.24 getDateNames using type=wide and 
item=months options, success callback should be called with a Properties 
object", function (done) {
+            it('globalization.spec.24 getDateNames using type=wide and 
item=months options, success callback should be called with a Properties 
object', function (done) {
                 navigator.globalization.getDateNames(function (a) {
                     checkDateNames(a);
                     done();
@@ -343,12 +343,12 @@ exports.defineAutoTests = function () {
             });
         });
 
-        describe("isDayLightSavingsTime", function () {
-            it("globalization.spec.1 should exist", function () {
+        describe('isDayLightSavingsTime', function () {
+            it('globalization.spec.1 should exist', function () {
                 expect(typeof 
navigator.globalization.isDayLightSavingsTime).toBeDefined();
-                expect(typeof navigator.globalization.isDayLightSavingsTime == 
'function').toBe(true);
+                expect(typeof navigator.globalization.isDayLightSavingsTime 
=== 'function').toBe(true);
             });
-            it("globalization.spec.26 isDayLightSavingsTime using default 
options, success callback should be called with a Properties object", function 
(done) {
+            it('globalization.spec.26 isDayLightSavingsTime using default 
options, success callback should be called with a Properties object', function 
(done) {
                 navigator.globalization.isDayLightSavingsTime(new Date(), 
function (a) {
                     expect(a).toBeDefined();
                     expect(typeof a).toBe('object');
@@ -359,12 +359,12 @@ exports.defineAutoTests = function () {
             });
         });
 
-        describe("getFirstDayOfWeek", function () {
-            it("globalization.spec.1 should exist", function () {
+        describe('getFirstDayOfWeek', function () {
+            it('globalization.spec.1 should exist', function () {
                 expect(typeof 
navigator.globalization.getFirstDayOfWeek).toBeDefined();
-                expect(typeof navigator.globalization.getFirstDayOfWeek == 
'function').toBe(true);
+                expect(typeof navigator.globalization.getFirstDayOfWeek === 
'function').toBe(true);
             });
-            it("globalization.spec.28 getFirstDayOfWeek success callback 
should be called with a Properties object", function (done) {
+            it('globalization.spec.28 getFirstDayOfWeek success callback 
should be called with a Properties object', function (done) {
                 navigator.globalization.getFirstDayOfWeek(function (a) {
                     expect(a).toBeDefined();
                     expect(typeof a).toBe('object');
@@ -375,7 +375,7 @@ exports.defineAutoTests = function () {
             });
         });
 
-        describe("numberToString", function () {
+        describe('numberToString', function () {
             var checkNumberToString = function (a) {
                 expect(a).toBeDefined();
                 expect(typeof a).toBe('object');
@@ -383,24 +383,24 @@ exports.defineAutoTests = function () {
                 expect(typeof a.value).toBe('string');
                 expect(a.value.length > 0).toBe(true);
             };
-            it("globalization.spec.1 should exist", function () {
+            it('globalization.spec.1 should exist', function () {
                 expect(typeof 
navigator.globalization.numberToString).toBeDefined();
-                expect(typeof navigator.globalization.numberToString == 
'function').toBe(true);
+                expect(typeof navigator.globalization.numberToString === 
'function').toBe(true);
             });
-            it("globalization.spec.30 numberToString using default options, 
should be called with a Properties object", function (done) {
+            it('globalization.spec.30 numberToString using default options, 
should be called with a Properties object', function (done) {
                 navigator.globalization.numberToString(3.25, function (a) {
                     checkNumberToString(a);
                     done();
                 }, fail.bind(null, done));
             });
-            it("globalization.spec.31 numberToString using type=percent 
options, should be called with a Properties object", function (done) {
+            it('globalization.spec.31 numberToString using type=percent 
options, should be called with a Properties object', function (done) {
                 navigator.globalization.numberToString(0.25, function (a) {
                     checkNumberToString(a);
                     done();
                 }, fail.bind(null, done),
                 { type: 'percent' });
             });
-            it("globalization.spec.32 numberToString using type=currency 
options, should be called with a Properties object", function (done) {
+            it('globalization.spec.32 numberToString using type=currency 
options, should be called with a Properties object', function (done) {
                 // the numberToString using type=currency is not supported on 
browser
                 // 
https://github.com/apache/cordova-plugin-globalization/blob/21f8a0ffa5aa2497ee970b6b5092b4c65fc4bf7e/README.md#browser-quirks-7
                 if (isBrowser) {
@@ -414,7 +414,7 @@ exports.defineAutoTests = function () {
             });
         });
 
-        describe("stringToNumber", function () {
+        describe('stringToNumber', function () {
             var checkStringToNumber = function (a) {
                 expect(a).toBeDefined();
                 expect(typeof a).toBe('object');
@@ -422,11 +422,11 @@ exports.defineAutoTests = function () {
                 expect(typeof a.value).toBe('number');
                 expect(a.value > 0).toBe(true);
             };
-            it("globalization.spec.1 should exist", function () {
+            it('globalization.spec.1 should exist', function () {
                 expect(typeof 
navigator.globalization.stringToNumber).toBeDefined();
-                expect(typeof navigator.globalization.stringToNumber == 
'function').toBe(true);
+                expect(typeof navigator.globalization.stringToNumber === 
'function').toBe(true);
             });
-            it("globalization.spec.34 stringToNumber using default options, 
should be called with a Properties object", function (done) {
+            it('globalization.spec.34 stringToNumber using default options, 
should be called with a Properties object', function (done) {
                 // the stringToNumber is not supported on browser
                 // 
https://github.com/apache/cordova-plugin-globalization/blob/21f8a0ffa5aa2497ee970b6b5092b4c65fc4bf7e/README.md#supported-platforms-11
                 if (isBrowser) {
@@ -441,7 +441,7 @@ exports.defineAutoTests = function () {
                     navigator.globalization.stringToNumber(a.value, win, 
fail.bind(null, done));
                 }, fail.bind(null, done));
             });
-            it("globalization.spec.35 stringToNumber using type=percent 
options, should be called with a Properties object", function (done) {
+            it('globalization.spec.35 stringToNumber using type=percent 
options, should be called with a Properties object', function (done) {
                 // the stringToNumber is not supported on browser
                 // 
https://github.com/apache/cordova-plugin-globalization/blob/21f8a0ffa5aa2497ee970b6b5092b4c65fc4bf7e/README.md#supported-platforms-11
                 if (isBrowser) {
@@ -458,7 +458,7 @@ exports.defineAutoTests = function () {
             });
         });
 
-        describe("getNumberPattern", function () {
+        describe('getNumberPattern', function () {
             var checkNumberPattern = function (a) {
                 expect(a).toBeDefined();
                 expect(typeof a).toBe('object');
@@ -482,11 +482,11 @@ exports.defineAutoTests = function () {
                 expect(a.grouping.length > 0).toBe(true);
             };
 
-            it("globalization.spec.1 should exist", function () {
+            it('globalization.spec.1 should exist', function () {
                 expect(typeof 
navigator.globalization.getNumberPattern).toBeDefined();
-                expect(typeof navigator.globalization.getNumberPattern == 
'function').toBe(true);
+                expect(typeof navigator.globalization.getNumberPattern === 
'function').toBe(true);
             });
-            it("globalization.spec.37 getNumberPattern using default options, 
success callback should be called with a Properties object", function (done) {
+            it('globalization.spec.37 getNumberPattern using default options, 
success callback should be called with a Properties object', function (done) {
                 // the pattern property is not supported on windows, windows 
phone and browser
                 // 
https://github.com/apache/cordova-plugin-globalization/blob/master/doc/index.md#windows-phone-8-quirks-5
                 // 
https://github.com/apache/cordova-plugin-globalization/blob/21f8a0ffa5aa2497ee970b6b5092b4c65fc4bf7e/README.md#browser-quirks-6
@@ -498,7 +498,7 @@ exports.defineAutoTests = function () {
                     done();
                 }, fail.bind(null, done));
             });
-            it("globalization.spec.38 getNumberPattern using type=percent, 
success callback should be called with a Properties object", function (done) {
+            it('globalization.spec.38 getNumberPattern using type=percent, 
success callback should be called with a Properties object', function (done) {
                 // the pattern property is not supported on windows, windows 
phone and browser
                 // 
https://github.com/apache/cordova-plugin-globalization/blob/master/doc/index.md#windows-phone-8-quirks-5
                 // 
https://github.com/apache/cordova-plugin-globalization/blob/21f8a0ffa5aa2497ee970b6b5092b4c65fc4bf7e/README.md#browser-quirks-6
@@ -510,7 +510,7 @@ exports.defineAutoTests = function () {
                     done();
                 }, fail.bind(null, done), { type: 'percent' });
             });
-            it("globalization.spec.39 getNumberPattern using type=currency, 
success callback should be called with a Properties object", function (done) {
+            it('globalization.spec.39 getNumberPattern using type=currency, 
success callback should be called with a Properties object', function (done) {
                 // the pattern property is not supported on windows, windows 
phone and browser
                 // 
https://github.com/apache/cordova-plugin-globalization/blob/master/doc/index.md#windows-phone-8-quirks-5
                 // 
https://github.com/apache/cordova-plugin-globalization/blob/21f8a0ffa5aa2497ee970b6b5092b4c65fc4bf7e/README.md#browser-quirks-6
@@ -524,23 +524,23 @@ exports.defineAutoTests = function () {
             });
         });
 
-        describe("getCurrencyPattern", function () {
-            it("globalization.spec.1 should exist", function () {
+        describe('getCurrencyPattern', function () {
+            it('globalization.spec.1 should exist', function () {
                 // wp8 is unsupported
                 if (isWindowsPhone) {
                     pending();
                 }
                 expect(typeof 
navigator.globalization.getCurrencyPattern).toBeDefined();
-                expect(typeof navigator.globalization.getCurrencyPattern == 
'function').toBe(true);
+                expect(typeof navigator.globalization.getCurrencyPattern === 
'function').toBe(true);
             });
-            it("globalization.spec.41 getCurrencyPattern using EUR for 
currency, success callback should be called with a Properties object", function 
(done) {
+            it('globalization.spec.41 getCurrencyPattern using EUR for 
currency, success callback should be called with a Properties object', function 
(done) {
                 // only `code` and `fraction` properties are supported on 
windows
                 // 
https://github.com/apache/cordova-plugin-globalization/blob/master/doc/index.md#windows-quirks-3
                 // wp8 and browser are unsupported
                 if (isWindowsPhone || isWindows || isBrowser) {
                     pending();
                 }
-                navigator.globalization.getCurrencyPattern("EUR", function (a) 
{
+                navigator.globalization.getCurrencyPattern('EUR', function (a) 
{
                     expect(a).toBeDefined();
                     expect(typeof a).toBe('object');
                     expect(a.pattern).toBeDefined();

http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/blob/77894697/www/GlobalizationError.js
----------------------------------------------------------------------
diff --git a/www/GlobalizationError.js b/www/GlobalizationError.js
index d2dcced..bef343c 100644
--- a/www/GlobalizationError.js
+++ b/www/GlobalizationError.js
@@ -19,7 +19,6 @@
  *
 */
 
-
 /**
  * Globalization error object
  *
@@ -27,7 +26,7 @@
  * @param code
  * @param message
  */
-var GlobalizationError = function(code, message) {
+var GlobalizationError = function (code, message) {
     this.code = code || null;
     this.message = message || '';
 };


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to