Permalink
Browse files

Add jshintrc, Fix jshint errors

  • Loading branch information...
1 parent f793a66 commit bea91095ee587854435d4ba704994c57c0f50edc @santhoshtr santhoshtr committed Oct 10, 2012
View
@@ -5,7 +5,6 @@
"_"
],
- "camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,
@@ -20,9 +19,8 @@
"unused": true,
"strict": true,
"trailing": true,
-
+ "laxbreak": true,
"browser": true,
-
"nomen": true,
"onevar": true,
"white": false
@@ -2,14 +2,14 @@
'use strict';
var amTransliteration = {
- id: "am-transliteration",
- name: "Amharic Transliteration",
- description: "Amharic Transliteration",
- date: "2012-09-09",
- URL: "http://am.wikipedia.org/wiki/%E1%8A%A5%E1%88%AD%E1%8B%B3%E1%89%B3:%E1%8A%A2%E1%89%B5%E1%8B%AE%E1%8D%92%E1%8A%AD_%E1%88%B4%E1%88%AB",
- author: "Elfalem [[User:Elfalem]])",
- license: "GPLv3",
- version: "1.0",
+ id: 'am-transliteration',
+ name: 'Amharic Transliteration',
+ description: 'Amharic Transliteration',
+ date: '2012-09-09',
+ URL: 'http://am.wikipedia.org/wiki/%E1%8A%A5%E1%88%AD%E1%8B%B3%E1%89%B3:%E1%8A%A2%E1%89%B5%E1%8B%AE%E1%8D%92%E1%8A%AD_%E1%88%B4%E1%88%AB',
+ author: 'Elfalem [[User:Elfalem]])',
+ license: 'GPLv3',
+ version: '1.0',
contextLength: 1,
maxKeyLength: 2,
patterns: [
@@ -198,7 +198,7 @@
[ 'ክW', '' ],
[ 'ኳe', '' ],
- [ "(ኳu|ኳ')", '' ],
+ [ '(ኳu|ኳ\')', '' ],
[ 'ኳi', '' ],
[ '(ኰe|ኳE)', '' ],
@@ -211,7 +211,7 @@
[ 'ኽW', '' ],
[ 'ዃe', '' ],
- [ "(ዃu|ዃ')", '' ],
+ [ '(ዃu|ዃ\')', '' ],
[ 'ዃi', '' ],
[ 'ዃE', '' ],
@@ -277,7 +277,7 @@
[ 'ግo', '' ],
[ 'ጓe', '' ],
- [ "(ጓu|ጓ')", '' ],
+ [ '(ጓu|ጓ\')', '' ],
[ 'ጓi', '' ],
[ '(ጐe|ጓE)', '' ],
View
@@ -2,14 +2,14 @@
'use strict';
var de = {
- id: "de",
- name: "Deutsch",
- description: "German input method",
- date: "2012-11-20",
- URL: "http://github.com/wikimedia/jquery.ime",
- author: "Erik Moeller",
- license: "Public domain",
- version: "1.0",
+ id: 'de',
+ name: 'Deutsch',
+ description: 'German input method',
+ date: '2012-11-20',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Erik Moeller',
+ license: 'Public domain',
+ version: '1.0',
contextLength: 1,
maxKeyLength: 1,
patterns: [
View
@@ -2,14 +2,14 @@
'use strict';
var capitalize = {
- id: "en-capitalize",
- name: "English Capitalize",
- description: "Capitalize all the letters",
- date: "2012-10-03",
- URL: "http://github.com/wikimedia/jquery.ime",
- author: "Santhosh Thottingal",
- license: "CC-BY-SA",
- version: "1.0",
+ id: 'en-capitalize',
+ name: 'English Capitalize',
+ description: 'Capitalize all the letters',
+ date: '2012-10-03',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Santhosh Thottingal',
+ license: 'CC-BY-SA',
+ version: '1.0',
patterns: [ [ '[a-z]', function ( $1 ) {
return $1.toUpperCase();
} ] ]
@@ -2,14 +2,14 @@
'use strict';
var heStandard = {
- id: "he-standard-2011",
- name: "Hebrew standard keyboard",
- description: "Hebrew keyboard according to Israeli Standard 1452",
- date: "2011-12-06",
- URL: "http://www.lingnu.com/he/howto/78-si1452.html",
- author: "Amir E. Aharoni (אָמִיר אֱלִישָׁע אַהֲרוֹנִי, [[User:Amire80]])",
- license: "GPLv3",
- version: "1.0",
+ id: 'he-standard-2011',
+ name: 'Hebrew standard keyboard',
+ description: 'Hebrew keyboard according to Israeli Standard 1452',
+ date: '2011-12-06',
+ URL: 'http://www.lingnu.com/he/howto/78-si1452.html',
+ author: 'Amir E. Aharoni (אָמִיר אֱלִישָׁע אַהֲרוֹנִי, [[User:Amire80]])',
+ license: 'GPLv3',
+ version: '1.0',
contextLength: 0,
maxKeyLength: 0,
patterns: [
View
@@ -2,14 +2,14 @@
'use strict';
var hiBolnagari = {
- id: "hi-bolnagari",
- name: "Bolnagari",
- description: "Bolnagari phonetic keymap for Devanagari script",
- date: "2012-03-28",
- URL: "http://www.indlinux.org/wiki/index.php/BolNagri",
- author: "G Karunakar",
- license: "GPLv3",
- version: "1.0",
+ id: 'hi-bolnagari',
+ name: 'Bolnagari',
+ description: 'Bolnagari phonetic keymap for Devanagari script',
+ date: '2012-03-28',
+ URL: 'http://www.indlinux.org/wiki/index.php/BolNagri',
+ author: 'G Karunakar',
+ license: 'GPLv3',
+ version: '1.0',
contextLength: 0,
maxKeyLength: 1,
patterns: [
View
@@ -2,13 +2,13 @@
'use strict';
var hiInscript = {
- id: "hi-inscript",
- name: "Devanagari Inscript",
- description: "Inscript keyboard for Devanagari script",
- date: "2011-02-26",
- author: "Junaid P V",
- license: "GPLv3",
- version: "1.0",
+ id: 'hi-inscript',
+ name: 'Devanagari Inscript',
+ description: 'Inscript keyboard for Devanagari script',
+ date: '2011-02-26',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
contextLength: 0,
maxKeyLength: 1,
patterns: [
@@ -38,8 +38,8 @@
[ 'p', '\u091C' ],
[ 'P', '\u091D' ],
[ '\\}', '\u091E' ],
- [ "'", '\u091F' ],
- [ '"', '\u0920' ],
+ [ '\'', '\u091F' ],
+ [ '\'', '\u0920' ],
[ '\\[', '\u0921' ],
[ '\\{', '\u0922' ],
[ 'C', '\u0923' ],
@@ -2,13 +2,13 @@
'use strict';
var hiTransliteration = {
- id: "hi-transliteration",
- name: "Devanagari Transliteration",
- description: "Transliteration keyboard for Devanagari script",
- date: "2011-11-20",
- author: "Junaid P V",
- license: "GPLv3",
- version: "1.0",
+ id: 'hi-transliteration',
+ name: 'Devanagari Transliteration',
+ description: 'Transliteration keyboard for Devanagari script',
+ date: '2011-11-20',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
contextLength: 1,
maxKeyLength: 3,
patterns: [
View
@@ -1,14 +1,14 @@
( function ( $ ) {
'use strict';
var inscript = {
- id: "ml-inscript",
- name: "Malayalam Inscript",
- description: "Malayalam Inscript",
- date: "2012-10-03",
- URL: "http://github.com/wikimedia/jquery.ime",
- author: "Junaid P V",
- license: "GPLv3",
- version: "1.0",
+ id: 'ml-inscript',
+ name: 'Malayalam Inscript',
+ description: 'Malayalam Inscript',
+ date: '2012-10-03',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
contextLength: 0,
maxKeyLength: 2,
patterns: [
@@ -68,7 +68,7 @@
[ ';', '' ],
[ ':', '' ],
[ '\'', '' ],
- [ '"', '' ],
+ [ '\'', '' ],
[ 'z', '' ],
[ 'Z', '' ],
[ 'x', '' ],
@@ -1,14 +1,14 @@
( function ( $ ) {
'use strict';
var mltransliteration = {
- id: "ml-transliteration",
- name: "Malayalam Transliteration",
- description: "Malayalam Transliteration based input method",
- date: "2012-10-03",
- URL: "http://github.com/wikimedia/jquery.ime",
- author: "Junaid P V",
- license: "GPLv3",
- version: "1.0",
+ id: 'ml-transliteration',
+ name: 'Malayalam Transliteration',
+ description: 'Malayalam Transliteration based input method',
+ date: '2012-10-03',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
contextLength: 2,
maxKeyLength: 2,
patterns: [
View
@@ -2,14 +2,14 @@
'use strict';
var ta99 = {
- id: "ta-99",
- name: "Tamil 99",
- description: "Tamil 99 Keyboard",
- date: "2012-11-20",
- URL: "http://github.com/wikimedia/jquery.ime",
- author: "Junaid P V",
- license: "GPLv3",
- version: "1.0",
+ id: 'ta-99',
+ name: 'Tamil 99',
+ description: 'Tamil 99 Keyboard',
+ date: '2012-11-20',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
contextLength: 1,
maxKeyLength: 4,
patterns: [
@@ -25,7 +25,7 @@
[ '([க-ஹ])i', 'a', '$1ன' ],
[ '([க-ஹ])j', 'a', '$1ப' ],
[ '([க-ஹ])k', 'a', '$1ம' ],
- [ "([க-ஹ])'", 'a', '$1ய' ],
+ [ '([க-ஹ])\'', 'a', '$1ய' ],
[ '([க-ஹ])m', 'a', '$1ர' ],
[ '([க-ஹ])u', 'a', '$1ற' ],
[ '([க-ஹ])n', 'a', '$1ல' ],
@@ -49,7 +49,7 @@
[ 'ன்னi', 'ன்னன' ],
[ 'ப்பj', 'ப்பப' ],
[ 'ம்மk', 'ம்மம' ],
- [ "ய்ய'", 'ய்யய' ],
+ [ 'ய்ய\'', 'ய்யய' ],
[ 'ர்ரm', 'ர்ரர' ],
[ 'ற்றu', 'ற்றற' ],
[ 'ல்லn', 'ல்லல' ],
@@ -87,7 +87,7 @@
[ 'னi', 'ன்ன' ],
[ 'பj', 'ப்ப' ],
[ 'மk', 'ம்ம' ],
- [ "ய'", 'ய்ய' ],
+ [ '\'', 'ய்ய' ],
[ 'ரm', 'ர்ர' ],
[ 'றu', 'ற்ற' ],
[ 'லn', 'ல்ல' ],
@@ -129,7 +129,7 @@
[ 'k', '' ],
[ 'l', '' ],
[ ';', '' ],
- [ "'", '' ],
+ [ '\'', '' ],
[ 'z', '' ],
[ 'x', '' ],
@@ -164,10 +164,10 @@
[ 'G', '' ],
[ 'H', '' ],
[ 'J', '' ],
- [ 'K', '"' ],
+ [ 'K', '\'' ],
[ 'L', ':' ],
[ '\\:', ';' ],
- [ '"', "'" ],
+ [ '\'', '\'' ],
[ 'Z', '' ],
[ 'X', '' ],
View
@@ -2,14 +2,14 @@
'use strict';
var taBamini = {
- id: "ta-bamini",
- name: "Tamil Bamini",
- description: "Tamil Bamini input method",
- date: "2012-10-03",
- URL: "http://github.com/wikimedia/jquery.ime",
- author: "Junaid P V",
- license: "GPLv3",
- version: "1.0",
+ id: 'ta-bamini',
+ name: 'Tamil Bamini',
+ description: 'Tamil Bamini input method',
+ date: '2012-10-03',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
contextLength: 0,
maxKeyLength: 2,
patterns: [
@@ -65,7 +65,7 @@
[ 'I', '' ],
[ 'O', 'ழு' ],
[ 'P', '' ],
- [ '\\|', "'" ],
+ [ '\\|', '\'' ],
[ 'A', 'யு' ],
[ 'S', 'ளு' ],
[ 'D', 'னு' ],
View
@@ -2,14 +2,14 @@
'use strict';
var taInscript = {
- id: "ta-inscript",
- name: "Tamil Inscript",
- description: "Tamil Inscript Keyboard",
- date: "2012-11-20",
- URL: "http://github.com/wikimedia/jquery.ime",
- author: "Junaid P V",
- license: "GPLv3",
- version: "1.0",
+ id: 'ta-inscript',
+ name: 'Tamil Inscript',
+ description: 'Tamil Inscript Keyboard',
+ date: '2012-11-20',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
contextLength: 1,
maxKeyLength: 4,
patterns: [
Oops, something went wrong.

0 comments on commit bea9109

Please sign in to comment.