diff options
author | teramako | 2008-10-15 15:28:45 +0000 |
---|---|---|
committer | teramako | 2008-10-15 15:28:45 +0000 |
commit | 3dc8e4e07e475876801ff602bd9e047c92203934 (patch) | |
tree | d41e994a207d77c8ba74c80bce7a0879b2517c10 /ime_controller.js | |
parent | 4ca3ee635c6624add6514b2b8a5675ef61c67813 (diff) | |
download | vimperator-plugins-3dc8e4e07e475876801ff602bd9e047c92203934.tar.bz2 |
namespaceの省略(vimperator CVS headと旧版との互換性維持のため)
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@21395 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'ime_controller.js')
-rw-r--r-- | ime_controller.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ime_controller.js b/ime_controller.js index bc8588c..a3dc97c 100644 --- a/ime_controller.js +++ b/ime_controller.js @@ -33,7 +33,6 @@ * */ -if(!liberator.plugins) vimperator.plugins = {}; liberator.plugins.imeController = (function(){ var inputElement = document.getAnonymousElementByAttribute( document.getElementById('liberator-commandline-command'),'anonid','input' @@ -52,8 +51,8 @@ liberator.plugins.imeController = (function(){ liberator.plugins.imeController.set(inputElement, getMode('ex_ime_mode')); }); preExec(events,'onEscape',function(){ - if (liberator.mode == liberator.modes.INSERT && (liberator.modes.extended & liberator.modes.TEXTAREA) && !liberator.options.insertmode){ - var inputField = liberator.buffer.lastInputField; + if (liberator.mode == modes.INSERT && (modes.extended & modes.TEXTAREA) && !options.insertmode){ + var inputField = buffer.lastInputField; if (liberator.plugins.imeController.set(inputField, getMode('textarea_ime_mode'))){ inputField.blur(); setTimeout(function(){inputField.focus();},0); |