Update jquery.ime and jquery.webfonts from upstream

Change-Id: I7963adc763c53df87cfb8452fde514554a332e6c
This commit is contained in:
Siebrand Mazeland
2013-01-16 12:16:59 +01:00
committed by Gerrit Code Review
parent 93ab761e34
commit a98ff90d49
10 changed files with 1148 additions and 562 deletions

View File

@@ -1,5 +1,8 @@
.imeselector { .imeselector {
position: absolute; position: absolute;
/* Fix rgba fallback bug - http://css-tricks.com/ie-background-rgb-bug */
/* @embed */
background: url('../images/ime-active.png') no-repeat 3px center #fff;
/* @embed */ /* @embed */
background: url('../images/ime-active.png') no-repeat 3px center rgba(255,255,255,0.75); background: url('../images/ime-active.png') no-repeat 3px center rgba(255,255,255,0.75);
cursor: pointer; cursor: pointer;
@@ -9,7 +12,7 @@
box-shadow: 0 1px 3px 0 #777; box-shadow: 0 1px 3px 0 #777;
margin-top: 0; margin-top: 0;
text-align: left; text-align: left;
font-family: 'sans'; font-family: sans-serif;
white-space: nowrap; white-space: nowrap;
z-index: 9999; z-index: 9999;
} }
@@ -139,6 +142,20 @@ span.ime-disable-shortcut {
top: -6px; top: -6px;
} }
.imeselector-menu.position-top:before {
border-bottom: 0 none;
border-top: 7px solid #888;
top: auto;
bottom: -7px;
}
.imeselector-menu.position-top:after {
border-bottom: 0 none;
border-top: 6px solid #FFFFFF;
top: auto;
bottom: -6px;
}
.imeselector-menu .checked { .imeselector-menu .checked {
/* @embed */ /* @embed */
background: url(../images/tick.png) 4px center no-repeat; background: url(../images/tick.png) 4px center no-repeat;

File diff suppressed because it is too large Load Diff

View File

@@ -22,8 +22,8 @@
['I', 'Ш'], ['I', 'Ш'],
['O', 'Ў'], ['O', 'Ў'],
['P', 'З'], ['P', 'З'],
['{', 'Х'], ['\\{', 'Х'],
['}', '\''], ['\\}', '\''],
['A', 'Ф'], ['A', 'Ф'],
['S', 'Ы'], ['S', 'Ы'],
['D', 'В'], ['D', 'В'],

View File

@@ -202,11 +202,11 @@
['@', '\u030a'], // Combining ring above ['@', '\u030a'], // Combining ring above
['(?:\u033c){', '\u0323'], // {{{{{ // Combining dot below ['(?:\u033c)\\{', '\u0323'], // {{{{{ // Combining dot below
['(?:\u033b){', '\u033c'], // {{{{ // Combining seagull below ['(?:\u033b)\\{', '\u033c'], // {{{{ // Combining seagull below
['(?:\u033a){', '\u033b'], // {{{ // Combining square below ['(?:\u033a)\\{', '\u033b'], // {{{ // Combining square below
['(?:\u032a){', '\u033a'], // {{ // Combining inverted bridge below ['(?:\u032a)\\{', '\u033a'], // {{ // Combining inverted bridge below
['{', '\u032a'], // { // Combining bridge below ['\\{', '\u032a'], // { // Combining bridge below
['(?:\u0303)~', '\u0334'], // ~~ // Combining tilde overlay ['(?:\u0303)~', '\u0334'], // ~~ // Combining tilde overlay
['~', '\u0303'], // ~ // Combining tilde ['~', '\u0303'], // ~ // Combining tilde

View File

@@ -0,0 +1,117 @@
( function ( $ ) {
'use strict';
var guInScript2 = {
id: 'gu-inscript2',
name: 'ઇનસ્ક્રિપ્ટ ૨',
description: 'Enhanced InScript keyboard for Gujarati script',
date: '2013-11-15',
author: 'Parag Nemade',
license: 'GPLv3',
version: '1.0',
patterns: [
["!", "ઍ"],
["1", "૧"],
["\\@", "ૅ"],
["2", "૨"],
["\\#", "્ર"],
["3", "૩"],
["$", "ર્"],
["4", "૪"],
["5", "૫"],
["6", "૬"],
["7", "૭"],
["8", "૮"],
["\\(", "("],
["9", "૯"],
["\\)", ")"],
["0", ""],
["\\_", ""],
["\\-", "-"],
["\\+", "ઋ"],
["\\=", "ૃ"],
["Q", "ઔ"],
["q", "ૌ"],
["W", "ઐ"],
["w", "ૈ"],
["E", "આ"],
["e", "ા"],
["R", "ઈ"],
["r", "ી"],
["T", "ઊ"],
["t", "ૂ"],
["Y", "ભ"],
["y", "બ"],
["U", "ઙ"],
["u", "હ"],
["I", "ઘ"],
["i", "ગ"],
["O", "ધ"],
["o", "દ"],
["P", "ઝ"],
["p", "જ"],
["\\{", "ઢ"],
["\\[", "ડ"],
["\\}", "ઞ"],
["\\]", "઼"],
["A", "ઓ"],
["a", "ો"],
["S", "એ"],
["s", "ે"],
["D", "અ"],
["d", "્"],
["F", "ઇ"],
["f", "િ"],
["G", "ઉ"],
["g", "ુ"],
["H", "ફ"],
["h", "પ"],
["j", "ર"],
["K", "ખ"],
["k", "ક"],
["L", "થ"],
["l", "ત"],
[":", "છ"],
[";", "ચ"],
["\"", "ઠ"],
["\\'", "ટ"],
["\\|", "ઑ"],
["\\", "ૉ"],
["X", "ઁ"],
["x", "ં"],
["C", "ણ"],
["c", "મ"],
["v", "ન"],
["b", "વ"],
["N", "ળ"],
["n", "લ"],
["M", "શ"],
["m", "સ"],
["\\<", "ષ"],
[",", ","],
["\\>", "।"],
["\\.", "."],
["/", "ય"],
["\\%", "જ્ઞ"],
["\\^", "ત્ર"],
["\\&", "ક્ષ"],
["\\*", "શ્ર"]
],
patterns_x: [
["1", ""],
["2", ""],
["4", "₹"],
["\\+", "ૠ"],
["\\=", "ૄ"],
["R", "ૡ"],
["r", "ૣ"],
["F", "ઌ"],
["f", "ૢ"],
["X", "ૐ"],
[",", "૱"],
["\\>", "૥"],
["\\.", "ઽ"]]
};
$.ime.register( guInScript2 );
}( jQuery ) );

View File

@@ -0,0 +1,110 @@
( function ( $ ) {
'use strict';
var guPhonetic = {
id: 'gu-phonetic',
name: 'ફોનેતિક',
description: 'Phonetic keyboard for Gujarati script',
date: '2013-11-15',
author: 'Parag Nemade',
license: 'GPLv3',
version: '1.0',
patterns: [
["\\~", "ઍ"],
["\\`", "ૅ"],
["\\!", "!"],
["1", "૧"],
["\\@", "@"],
["2", "૨"],
["\\#", "#"],
["3", "૩"],
["\\$", "$"],
["4", "૪"],
["\\&", "૱"],
["5", "૫"],
["6", "૬"],
["7", "૭"],
["8", "૮"],
["\\(", "("],
["9", "૯"],
["\\)", ")"],
["0", ""],
["\\_", "_"],
["\\-", "-"],
["\\+", "+"],
["\\=", "="],
["Q", "ઔ"],
["q", "ઓ"],
["W", "ઠ"],
["w", "ટ"],
["E", "ૈ"],
["e", "ે"],
["R", "ૃ"],
["r", "ર"],
["T", "થ"],
["t", "ત"],
["Y", "ય઼"],
["y", "ય"],
["U", "ૂ"],
["u", "ુ"],
["I", "ી"],
["i", "િ"],
["O", "ૌ"],
["o", "ો"],
["P", "ફ"],
["p", "પ"],
["\\{", "ઢ"],
["\\[", "ડ"],
["\\}", "ર઼"],
["\\]", "ઋ"],
["A", "આ"],
["a", "ા"],
["S", "શ"],
["s", "સ"],
["D", "ધ"],
["d", "દ"],
["F", "અ"],
["f", "્"],
["G", "ઘ"],
["g", "ગ"],
["H", ""],
["h", "હ"],
["J", "ઝ"],
["j", "જ"],
["K", "ખ"],
["k", "ક"],
["L", "ળ"],
["l", "લ"],
[":", "ઈ"],
[";", "ઇ"],
["\"", "ઊ"],
["\\'", "ઉ"],
["\\|", "ઑ"],
["\\", "ૉ"],
["Z", "ઁ"],
["z", "ઙ"],
["x", "ષ"],
["C", "છ"],
["c", "ચ"],
["V", "ઽ"],
["v", "વ"],
["B", "ભ"],
["b", "બ"],
["N", "ણ"],
["n", "ન"],
["M", "ં"],
["m", "મ"],
["\\<", "ૐ"],
[",", ","],
["\\>", "઼"],
["\\.", "."],
["\\?", "ઐ"],
["/", "એ"],
["X", "ક્ષ"],
["\\%", "જ્ઞ"],
["\\^", "ત્ર"],
["\\*", "શ્ર"]]
};
$.ime.register( guPhonetic );
}( jQuery ) );

View File

@@ -3,8 +3,8 @@
var orLekhani = { var orLekhani = {
id: 'or-lekhani', id: 'or-lekhani',
name: 'ଲେଖନୀ', name: 'Odia Lekhani',
description: 'Odiya Lekhani phonetic input method', description: 'Odia Lekhani phonetic input method',
date: '2012-10-14', date: '2012-10-14',
URL: 'http://github.com/wikimedia/jquery.ime', URL: 'http://github.com/wikimedia/jquery.ime',
author: 'Junaid P V and Subhashish Panigrahi', author: 'Junaid P V and Subhashish Panigrahi',
@@ -15,23 +15,27 @@
patterns: [ patterns: [
['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\','$1'], ['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\','$1'],
['([କ-ହୟୱ])a', '$1ା'], ['([(କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍ଜ])a', '$1ା'],
['([କ-ହୟୱ])i', '$1\u0b3f'], ['([କ-ଳଲନ୍ଧଥଡ଼ଢ଼ହୟୱରକ୍ଷଶସଷଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍ଜ])i', '$1\u0b3f'],
['([କ-ହୟୱ])I', '$1ୀ'], ['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])I', '$1ୀ'],
['([କ-ହୟୱ])u', '$1\u0b41'], ['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])u', '$1\u0b41'],
['([କ-ହୟୱ])(U|\u0b41u)', '$1\u0b42'], ['([କ-ହୟୱ])(U|\u0b41u)', '$1\u0b42'],
['([କ-ହୟୱ])R', '$1\u0b43'], ['([କ-ହୟୱ])R', '$1\u0b43'],
['([କ-ହୟୱ])\u0b43R', '$1\u0b44'], ['([କ-ହୟୱ])\u0b43R', '$1\u0b44'],
['([କ-ହୟୱ])୍ଳ୍l', '$1ୢ'], ['([କ-ହୟୱ])୍ଳ୍l', '$1ୢ'],
['([କ-ହୟୱ])ୢl', '$1ୣ'], ['([କ-ହୟୱ])ୢl', '$1ୣ'],
['([କ-ହୟୱ])e', '$1େ'], ['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])e', '$1େ'],
['([କ-ହୟୱ])ାi', '$1ୈ'], ['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])ାi', '$1ୈ'],
['([କ-ହୟୱ])o', '$1ୋ'], ['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])o', '$1ୋ'],
['([କ-ହୟୱ])(ାu|ୋu)', '$1ୌ'], ['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])(ାu|ୋu)', '$1ୌ'],
['([କ-ହୟୱ])E', '$1\u0B48'], ['([କ-ହୟୱ])E', '$1\u0B48'],
['([କ-ହୟୱ])(w|v)', '$1୍ୱ'],
['([କ-ହୟୱ])~', '$1\u200C'],
['([କ-ହୟୱ])y', '$1୍ୟ'], // <consonant>y ['([କ-ହୟୱ])y', '$1୍ୟ'], // <consonant>y
['z', '୍'], // halanta
['\\.', '।'], //purnacheda
['ଅa', 'ଆ'], ['ଅa', 'ଆ'],
['(ଅi|ଏe)', 'ଐ'], ['(ଅi|ଏe)', 'ଐ'],
['(ଅu|ଓo|ଓO)', 'ଔ'], ['(ଅu|ଓo|ଓO)', 'ଔ'],
@@ -42,9 +46,11 @@
['ଞ୍ଜh', 'ଞ୍ଝ'], // njh ['ଞ୍ଜh', 'ଞ୍ଝ'], // njh
['ଙ୍କh', 'ଙ୍ଖ'], // nkh ['ଙ୍କh', 'ଙ୍ଖ'], // nkh
['ଙ୍ଗh', 'ଙ୍ଘ'], // ngh ['ଙ୍ଗh', 'ଙ୍ଘ'], // ngh
['ହm', 'ହ୍ମ'], // mh
['(ହn|ନh)', 'ହ୍ନ'], // nh
['ମ୍ବh', 'ମ୍ଭ'], // mbh or nbh ['ମ୍ବh', 'ମ୍ଭ'], // mbh or nbh
['ଣ୍ଡai', 'ଣ୍ଡାଇ'], // NDai
['ଜ୍ଜh', 'ଜ୍ଝ'], // jjh ['ଜ୍ଜh', 'ଜ୍ଝ'], // jjh
['ଚ୍ଚh', 'ଚ୍ଛ'], // cch ['ଚ୍ଚh', 'ଚ୍ଛ'], // cch
['ଣG', 'ଙ'], // NG ['ଣG', 'ଙ'], // NG
@@ -54,26 +60,42 @@
['ନc', 'ଞ୍ଚ'], // nc ['ନc', 'ଞ୍ଚ'], // nc
['ନg', 'ଙ୍ଗ'], // ng ['ନg', 'ଙ୍ଗ'], // ng
['ଚh', 'ଛ'], // ch ['ଚh', 'ଛ'], // ch
['C', 'ଛ'], // ch
['ଜh', 'ଝ'], // jh ['ଜh', 'ଝ'], // jh
['ନj', 'ଞ୍ଜ'], // nj ['ନj', 'ଞ୍ଜ'], // nj
['ନk', 'ଙ୍କ'], // nk ['ନk', 'ଙ୍କ'], // nk
['ଟh', ''], // Th ['ନd', 'ନ୍ଦ'], // nd
['ନD|ଣD', 'ଣ୍ଡ'], // nd
['(ନDh|ଣDH|ଣDh)', 'ଣ୍ଢ'], //ndh
['ନdh', 'ନ୍ଧ'], // ndh
['([କସପନ])t', '$1୍ତ'], // kt, st, pt, nt
['([ଷ])T', '$1୍ଟ'], // ST
['(ଟh|ଟH)', ''], // Th
['ଡh', 'ଢ'], // Dh ['ଡh', 'ଢ'], // Dh
['ତh', 'ଥ'], // th ['ତh', 'ଥ'], // th
['ଦh', 'ଧ'], // dh ['ଦh', 'ଧ'], // dh
['(f|ପh)', 'ଫ'], // ph or f ['(f|ପh|P)', 'ଫ'], // ph or f
['ବh', 'ଭ'], // bh ['ବh', 'ଭ'], // bh
['ସh', 'ଷ'], // sh ['ସh', 'ଷ'], // sh
['(ମb|ନb)', 'ମ୍ବ'], // mb or nb ['(ମb|ନb)', 'ମ୍ବ'], // mb or nb
['(ଣT|ନT)', 'ଣ୍ଟ'], // NT
['(ଣTh|ଣTh|ନTh|ନTH)', 'ଣ୍ଠ'], // NTh
['([ସ|ଷ|ମ])p', '$1୍ପ'], // sp/shp
['shp', 'ଷ୍ପ'], // sp
['ଂM', 'ଁ'], // MM ['ଂM', 'ଁ'], // MM
['କk', 'କ୍କ'], // kk ['କk', 'କ୍କ'], // kk
['ଗg', 'ଗ୍ଗ'], // gg ['ଗg', 'ଗ୍ଗ'], // gg
['ଚc', 'ଚ୍ଚ'], // cc ['ଚc', 'ଚ୍ଚ'], // cc
['ଜj', 'ଜ୍ଜ'], // jj ['ଜj', 'ଜ୍ଜ'], // jj
['ଦd', 'ଦ୍ଦ'], // dd
['ଟT', 'ଟ୍ଟ'], // TT ['ଟT', 'ଟ୍ଟ'], // TT
['ଡD', 'ଡ୍ଡ'], // DD ['ଡD', 'ଡ୍ଡ'], // DD
['ତt', 'ତ୍ତ'], // tt ['ତt', 'ତ୍ତ'], // tt
['ଲl', 'ଲ୍ଲ'], // ll
['ପp', 'ପ୍ପ'], //pp
[ '\\[', '\u200c' ],
[ '_', '\u200c' ],
['ଆ\\\\', '\u0B3E'], // aa sign ['ଆ\\\\', '\u0B3E'], // aa sign
@@ -96,6 +118,7 @@
['d', 'ଦ'], ['d', 'ଦ'],
['\u200c?e', 'ଏ'], ['\u200c?e', 'ଏ'],
['g', 'ଗ'], ['g', 'ଗ'],
['G', 'ଘ'],
['h', 'ହ'], ['h', 'ହ'],
['\u200c?i', 'ଇ'], ['\u200c?i', 'ଇ'],
['j', 'ଜ'], ['j', 'ଜ'],
@@ -112,8 +135,8 @@
['\u200c?u', 'ଉ'], ['\u200c?u', 'ଉ'],
['[vwVW]', 'ୱ'], ['[vwVW]', 'ୱ'],
['x', 'କ୍ଷ'], ['x', 'କ୍ଷ'],
['[yY]', 'ୟ'], ['[Y]', 'ୟ'],
['z', '\u0B3C'], ['[y]', ''],
['\u200c?A', 'ଆ'], ['\u200c?A', 'ଆ'],
['B', 'ବ'], ['B', 'ବ'],
['C', 'ଛ'], ['C', 'ଛ'],
@@ -124,12 +147,12 @@
['H', ''], ['H', ''],
['\u200c?I', 'ଈ'], ['\u200c?I', 'ଈ'],
['J', 'ଯ'], ['J', 'ଯ'],
['K', 'କ୍କ'], ['K', ''],
['L', 'ଳ'], ['L', 'ଳ'],
['M', 'ଂ'], ['M', 'ଂ'],
['N', 'ଣ'], ['N', 'ଣ'],
['\u200c?O', 'ଔ'], ['\u200c?O', 'ଔ'],
['P', 'ପ୍ପ'], ['P', ''],
['Q', 'ଢ଼'], ['Q', 'ଢ଼'],
['R', 'ଋ'], ['R', 'ଋ'],
['S', 'ଶ'], ['S', 'ଶ'],
@@ -137,9 +160,8 @@
['\u200c?U', 'ଊ'], ['\u200c?U', 'ଊ'],
['X', 'ଁ'], ['X', 'ଁ'],
['Z', 'ଜ୍ଞ'], ['Z', 'ଜ୍ଞ'],
['\\~', '୍'], ['//', '୍'],
['//', 'ଽ'],
['_', '\u200c'],
['0', ''], ['0', ''],
['1', '୧'], ['1', '୧'],
['2', ''], ['2', ''],

View File

@@ -0,0 +1,110 @@
( function ( $ ) {
'use strict';
var paInScript2 = {
id: 'pa-inscript2',
name: 'Punjabi InScript2',
description: 'Enhanced InScript keyboard for Punjabi script',
date: '2013-11-14',
author: 'Parag Nemade',
license: 'GPLv3',
version: '1.0',
patterns: [
["1", ""],
["2", "੨"],
["3", "੩"],
["4", ""],
["5", "੫"],
["6", "੬"],
["7", "੭"],
["8", "੮"],
["9", "੯"],
["0", ""],
["\\(", "("],
["\\)", ")"],
["\\_", "ਃ"],
["\\-", "-"],
["Q", "ਔ"],
["q", "ੌ"],
["W", "ਐ"],
["w", "ੈ"],
["E", "ਆ"],
["e", "ਾ"],
["R", "ਈ"],
["r", "ੀ"],
["T", "ਊ"],
["t", "ੂ"],
["Y", "ਭ"],
["y", "ਬ"],
["U", "ਙ"],
["u", "ਹ"],
["I", "ਘ"],
["i", "ਗ"],
["O", "ਧ"],
["o", "ਦ"],
["P", "ਝ"],
["p", "ਜ"],
["\\{", "ਢ"],
["\\[", "ਡ"],
["\\}", "ਞ"],
["\\]", "਼"],
["A", "ਓ"],
["a", "ੋ"],
["S", "ਏ"],
["s", "ੇ"],
["D", "ਅ"],
["d", "੍"],
["F", "ਇ"],
["f", "ਿ"],
["G", "ਉ"],
["g", "ੁ"],
["H", "ਫ"],
["h", "ਪ"],
["J", "ੜ"],
["j", "ਰ"],
["K", "ਖ"],
["k", "ਕ"],
["L", "ਥ"],
["l", "ਤ"],
[":", "ਛ"],
[";", "ਚ"],
["\"", "ਠ"],
["\\'", "ਟ"],
["X", "ਂ"],
["x", "ੰ"],
["C", "ਣ"],
["c", "ਮ"],
["v", "ਨ"],
["B", "ਞ"],
["b", "ਵ"],
["N", "N"],
["n", "ਲ"],
["M", "ਸ਼"],
["m", "ਸ"],
[",", ","],
["\\>", "।"],
["\\.", "."],
["/", "ਯ"]
],
patterns_x: [
["1", ""],
["2", ""],
["4", "₹"],
["i", "ਗ਼"],
["p", "ਜ਼"],
["\\[", "ੜ"],
["D", "☬"],
["d", "ੑ"],
["F", "ੲ"],
["G", "ੳ"],
["H", "ਫ਼"],
["K", "ਖ਼"],
["X", "ੴ"],
["x", "ਁ"],
["N", "ਲ਼"],
["\\.", "॥"],
["/", "ੵ"]]
};
$.ime.register( paInScript2 );
}( jQuery ) );

View File

@@ -0,0 +1,130 @@
( function ( $ ) {
'use strict';
var paJhelum = {
id: 'pa-jhelum',
name: 'Punjabi Jhelum',
description: 'Jhelum keyboard for Punjabi script',
date: '2013-11-14',
author: 'Parag Nemade',
license: 'GPLv3',
version: '1.0',
patterns: [
["\\~", "~"],
["\\`", "`"],
["\\!", "!"],
["1", "1"],
["\\@", "@"],
["2", "2"],
["\\#", "#"],
["3", "3"],
["\\$", "$"],
["4", "4"],
["\\%", "%"],
["5", "5"],
["\\^", "ੳ"],
["6", "6"],
["\\&", "ੲ"],
["7", "7"],
["8", "8"],
["\\(", "("],
["9", "9"],
["\\)", ")"],
["0", "0"],
["\\_", "_"],
["\\-", "-"],
["\\+", "+"],
["\\=", "="],
["Q", "ਔ"],
["q", "ੌ"],
["W", "ਐ"],
["w", "ੈ"],
["E", "ਆ"],
["e", "ਾ"],
["R", "ਈ"],
["r", "ੀ"],
["T", "ਊ"],
["t", "ੂ"],
["Y", "ੜ"],
["y", "ਰ"],
["U", "ਧ"],
["u", "ਦ"],
["I", "ਘ"],
["i", "ਗ"],
["O", "ਟ"],
["o", "ਤ"],
["P", "ਫ"],
["p", "ਪ"],
["\\{", "ਢ"],
["\\[", "ਡ"],
["\\}", "ਞ"],
["\\]", "ਙ"],
["A", "ਓ"],
["a", "ੋ"],
["S", "ਏ"],
["s", "ੇ"],
["D", "ਅ"],
["d", "੍"],
["F", "ਇ"],
["f", "ਿ"],
["G", "ਉ"],
["g", "ੁ"],
["H", "ਠ"],
["h", "ਹ"],
["J", "ਝ"],
["j", "ਜ"],
["K", "ਖ"],
["k", "ਕ"],
["L", "ਥ"],
["l", "ਲ"],
[":", ":"],
[";", "ਸ"],
["\"", "\""],
["\\'", "'"],
["\\|", "।"],
["\\", "\\"],
["Z", "਼"],
["z", "ੱ"],
["X", "ੰ"],
["x", "ਂ"],
["C", "ਛ"],
["c", "ਚ"],
["V", "ਯ"],
["v", "ਵ"],
["B", "ਭ"],
["b", "ਬ"],
["N", "ਣ"],
["n", "ਨ"],
["M", "ਠ"],
["m", "ਮ"],
["\\<", "<"],
[",", ","],
["\\>", ">"],
["\\.", "."],
["\\?", "?"],
["/", "/"],
["\\*", "*"]
],
patterns_x: [
["1", ""],
["2", "੨"],
["3", "੩"],
["4", ""],
["5", "੫"],
["6", "੬"],
["7", "੭"],
["8", "੮"],
["9", "੯"],
["0", ""],
["y", "੍ਰ"],
["i", "ਗ਼"],
["P", "ਫ਼"],
["h", "੍ਹ"],
["j", "ਜ਼"],
["K", "ਖ਼"],
["l", "ਲ਼"],
[";", "ਸ਼"]]
};
$.ime.register( paJhelum );
}( jQuery ) );

View File

@@ -80,6 +80,7 @@
* Apply a font for the element. * Apply a font for the element.
* *
* @param fontFamily String: font family name * @param fontFamily String: font family name
* @param $element
*/ */
apply: function( fontFamily, $element ) { apply: function( fontFamily, $element ) {
var fontStack = this.options.fontStack.slice( 0 ); var fontStack = this.options.fontStack.slice( 0 );
@@ -115,7 +116,7 @@
if ( $.inArray( fontFamily, this.fonts ) >= 0 ) { if ( $.inArray( fontFamily, this.fonts ) >= 0 ) {
return true; return true;
} }
var styleString = this.getCSS( fontFamily ); var styleString = this.getCSS( fontFamily, 'normal' );
if ( styleString ) { if ( styleString ) {
injectCSS( styleString ); injectCSS( styleString );
} else { } else {
@@ -335,7 +336,7 @@
/** /**
* Create a new style tag and add it to the DOM. * Create a new style tag and add it to the DOM.
* *
* @param text String: CSS text * @param css String: CSS text
* @return HTMLStyleElement * @return HTMLStyleElement
*/ */
function injectCSS( css ) { function injectCSS( css ) {