Major update of jquery.ime from upstream

Changes:
* New tilde-based layouts for several languages of Africa:
  Kabyle, Kabiye, Kikuyu, Luganda, Lingala, Malagasy,
  Northern Sotho, Koyraboro Senni, Sango, Sotho, Venda
* Latin Pinyin transliteration keyboard
  https://github.com/wikimedia/jquery.ime/pull/545
* CSS and JS cleanup, to switch to stylelint and eslint.

Updating to
22407cf992

Bug: T212637
Change-Id: I167e572a6cc0f7c1c727e87e8ff361d88f87b40f
This commit is contained in:
Amir Aharoni
2019-03-29 15:02:33 -07:00
parent ce063ac705
commit a85bc8171c
36 changed files with 1954 additions and 1482 deletions

View File

@@ -31,7 +31,7 @@
return sub;
default:
if (alwaysStacked) {
if ( alwaysStacked ) {
return sub;
}
@@ -60,6 +60,7 @@
version: '1.0',
maxKeyLength: 5,
patterns: [
/* eslint-disable max-statements-per-line */
[ ' ', function () { reinit(); return '་'; } ],
[ '\\.', function () { reinit(); return ' '; } ],
[ ',', function () { reinit(); return '།'; } ],
@@ -139,7 +140,7 @@
[ 'h', function () { return normalOrSub( 'ཧ', 'ྷ', true ); } ],
[ 'A', function () { return normalOrSub( 'ཨ', 'ྸ' ); } ],
[ 'R', function () { return normalOrSub( 'ཪ', 'ྼ' ); } ],
[ 'Y', 'ྻ'],
[ 'Y', 'ྻ' ],
[ 'ྲI', function () { reinit(); return 'ྲྀ'; } ],
[ 'ླI', function () { reinit(); return 'ླྀ'; } ],
[ 'I', function () { reinit(); return 'ྀ'; } ],
@@ -181,6 +182,7 @@
[ '7', function () { reinit(); return '༧'; } ],
[ '8', function () { reinit(); return '༨'; } ],
[ '9', function () { reinit(); return '༩'; } ]
/* eslint-enable max-statements-per-line */
]
};