aboutsummaryrefslogtreecommitdiffstats
path: root/ime_controller.js
diff options
context:
space:
mode:
authordrry2008-04-08 10:17:15 +0000
committerdrry2008-04-08 10:17:15 +0000
commit48b1efb90901bd6fb6aa1a8dba37ef5fd9caad14 (patch)
treebfcdb89ff261a7b9efcd15da964b3f4a772d9b21 /ime_controller.js
parent4febc5d1043c715a28f8d5fc1a4fcc8141067423 (diff)
downloadvimperator-plugins-48b1efb90901bd6fb6aa1a8dba37ef5fd9caad14.tar.bz2
lang/javascript/vimperator-plugins/trunk/ime_controller.js:
* fixed typos. * et cetera... git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@9136 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'ime_controller.js')
-rw-r--r--ime_controller.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/ime_controller.js b/ime_controller.js
index 8c50025..d7bb3fb 100644
--- a/ime_controller.js
+++ b/ime_controller.js
@@ -1,7 +1,7 @@
/**
* ==VimperatorPlugin==
* @name IME Controller Lite
- * @description controll ime at into commandline-mode
+ * @description control imput method at into commandline-mode
* @description-ja コマンドラインモード移行時にIMEの制御を行う
* @author teramako teramako@gmail.com
* @namespace http://d.hatena.ne.jp/teramako/
@@ -13,17 +13,17 @@
* ex).
* :let g:ex_ime_mode = "inactive"
*
- * available value is
+ * following values are available:
* "auto" : No change
* "active" : Initially IME on
* "inactive" : Initially IME off
- * "disabled" : Disable IME
- *
- * more detail: see http://developer.mozilla.org/en/docs/CSS:ime-mode
+ * "disable" : Disable IME
+ *
+ * more details: see http://developer.mozilla.org/en/docs/CSS:ime-mode
*
* default value is "inactive"
*
- * TODO: 将来的にTEXTAREAモード時にもIMEのON/OFF切り替え機能をつける
+ * TODO: TEXTAREAモード時にもIMEのON/OFF切り替え機能をつける
*/
if(!liberator.plugins) vimperator.plugins = {};
@@ -36,9 +36,9 @@ liberator.plugins.imeController = (function(){
target[name] = function(){
func.apply(this,arguments);
return original.apply(target,arguments);
- }
+ };
}
- if (!globalVariables.ex_ime_mode){
+ if(!globalVariables.ex_ime_mode){
globalVariables.ex_ime_mode = 'inactive';
}
preExec(commandline,'open',function(){
@@ -50,7 +50,7 @@ liberator.plugins.imeController = (function(){
inputElement.style.imeMode = mode;
},
reset: function(){
- keyElement.setAttribute('oncommand', original);
+ //keyElement.setAttribute('oncommand', original);
inputElement.style.imeMode = 'auto';
}
};