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:
Santhosh Thottingal
2013-05-17 12:17:16 +05:30
committed by Gerrit Code Review
parent b1563040ab
commit 00c37b9218
3 changed files with 7 additions and 2 deletions

View File

@@ -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,7 +753,11 @@
if ( ime.getLanguage() === languageCode ) {
// nothing to do. It is same as the current language
return false;
// 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();

0
lib/jquery.ime/rules/mh/mh.js Executable file → Normal file
View File

View File

@@ -137,6 +137,7 @@
[ 'ൻy', 'ന്യ്' ],
[ 'ർ\\\\\\\\', 'ര്\u200d' ], // old style chill r
[ 'ർ~', 'ര്' ],
[ 'ർ#', 'ൎ' ], // dot repha
[ 'ർr', 'റ്' ],
[ 'ർR', 'രൃ' ],
[ 'ർy', 'ര്യ്' ],