Update jquery.ime from upstream
* selectLanguage need to check whether ime changed before return with noop * Add dot reph(0D4E) to Malayalam transliteration Change-Id: I35c05e8261270096ceb652db9b0dc24be9fa71fc
This commit is contained in:
committed by
Gerrit Code Review
parent
b1563040ab
commit
00c37b9218
@@ -1,4 +1,4 @@
|
||||
/*! jquery.ime - v0.1.0 - 2013-05-08
|
||||
/*! jquery.ime - v0.1.0 - 2013-05-17
|
||||
* https://github.com/wikimedia/jquery.ime
|
||||
* Copyright (c) 2013 Santhosh Thottingal; Licensed GPL, MIT */
|
||||
( function ( $ ) {
|
||||
@@ -753,8 +753,12 @@
|
||||
|
||||
if ( ime.getLanguage() === languageCode ) {
|
||||
// nothing to do. It is same as the current language
|
||||
// but check whether input method changed
|
||||
if( ime.inputmethod &&
|
||||
ime.inputmethod.id === $.ime.preferences.getIM( languageCode ) ) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
this.$menu.find( 'li.ime-lang' ).show();
|
||||
this.$menu.find( 'li[lang=' + languageCode + ']' ).hide();
|
||||
|
||||
0
lib/jquery.ime/rules/mh/mh.js
Executable file → Normal file
0
lib/jquery.ime/rules/mh/mh.js
Executable file → Normal file
@@ -137,6 +137,7 @@
|
||||
[ 'ൻy', 'ന്യ്' ],
|
||||
[ 'ർ\\\\\\\\', 'ര്\u200d' ], // old style chill r
|
||||
[ 'ർ~', 'ര്' ],
|
||||
[ 'ർ#', 'ൎ' ], // dot repha
|
||||
[ 'ർr', 'റ്' ],
|
||||
[ 'ർR', 'രൃ' ],
|
||||
[ 'ർy', 'ര്യ്' ],
|
||||
|
||||
Reference in New Issue
Block a user