From 9b3d64e7d7ed2370201296a60760bb927cf7bf5f Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 3 Dec 2013 13:53:01 +0100 Subject: [PATCH 1/3] Remove stray character in example file --- examples/index-autonymfont.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/index-autonymfont.html b/examples/index-autonymfont.html index 290aa8b..ae638eb 100644 --- a/examples/index-autonymfont.html +++ b/examples/index-autonymfont.html @@ -1,4 +1,4 @@ -s + From 84d763620fbd14ad67aa60a4fb5a4dd4e85918ce Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 3 Dec 2013 13:56:54 +0100 Subject: [PATCH 2/3] Use a single var statement --- test/jquery.uls.test.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/jquery.uls.test.js b/test/jquery.uls.test.js index f11e925..0514c3b 100644 --- a/test/jquery.uls.test.js +++ b/test/jquery.uls.test.js @@ -20,11 +20,13 @@ module( 'jquery.uls' ); + var orphanScripts, badRedirects, doubleRedirects, languagesWithoutAutonym; + /* * Runs over all script codes mentioned in langdb and checks whether * they belong to the 'Other' group. */ - var orphanScripts = function () { + orphanScripts = function () { var language, script, result = []; @@ -42,7 +44,7 @@ /* * Runs over all languages and checks that all redirects have a valid target. */ - var badRedirects = function () { + badRedirects = function () { var language, target, result = []; @@ -61,7 +63,7 @@ * Runs over all languages and checks that all redirects point to a language. * There's no reason to have double redirects. */ - var doubleRedirects = function () { + doubleRedirects = function () { var language, target, result = []; @@ -80,7 +82,7 @@ * Runs over all script codes mentioned in langdb and checks whether * they have something that looks like an autonym. */ - var languagesWithoutAutonym = function () { + languagesWithoutAutonym = function () { var language, result = []; From 520e1b11813f5d78910bf7062054920cf3aa1af5 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 3 Dec 2013 13:59:46 +0100 Subject: [PATCH 3/3] Suppress JSHint double quote warnings in jquery.uls.data.js --- data/ulsdata2json.php | 1 + src/jquery.uls.data.js | 1 + 2 files changed, 2 insertions(+) diff --git a/data/ulsdata2json.php b/data/ulsdata2json.php index 7a21cc5..739a957 100644 --- a/data/ulsdata2json.php +++ b/data/ulsdata2json.php @@ -76,6 +76,7 @@ $js = <<