diff options
author | anekos | 2008-10-29 06:00:31 +0000 |
---|---|---|
committer | anekos | 2008-10-29 06:00:31 +0000 |
commit | 281f04d3983af074dc144f6f23c0d22bb1e6dc50 (patch) | |
tree | c5ec96d4b500272eed248bc80b1f39e1c4e981c8 /ldrize_cooperation.js | |
parent | 3aa686e2cfe5a8505ed3d0a65dd48603e0f7d31b (diff) | |
download | vimperator-plugins-281f04d3983af074dc144f6f23c0d22bb1e6dc50.tar.bz2 |
hint の変更に対応。
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@22313 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'ldrize_cooperation.js')
-rw-r--r-- | ldrize_cooperation.js | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/ldrize_cooperation.js b/ldrize_cooperation.js index f431e29..dd48fae 100644 --- a/ldrize_cooperation.js +++ b/ldrize_cooperation.js @@ -222,7 +222,7 @@ "Start QuickHint mode with LDRize",
function(){
setHinttags(true);
- liberator.modules.hints.show(liberator.modules.modes.QUICK_HINT);
+ liberator.modules.hints.show("o");
setHinttags(self.isEnableLDRizeCooperation() && self.isModHints);
} ,{});
@@ -230,27 +230,21 @@ "Start QuickHint mode",
function(){
setHinttags(self.isEnableLDRizeCooperation() && self.isModHints);
- liberator.modules.hints.show(liberator.modules.modes.QUICK_HINT);
+ liberator.modules.hints.show("o");
},{});
liberator.modules.mappings.addUserMap([liberator.modules.modes.NORMAL], ["F"],
"Start QuickHint mode, but open link in a new tab",
function(){
setHinttags(self.isEnableLDRizeCooperation() && self.isModHints);
- liberator.modules.hints.show(liberator.modules.modes.QUICK_HINT, "t");
+ liberator.modules.hints.show("t");
},{});
liberator.modules.mappings.addUserMap([liberator.modules.modes.NORMAL], [";"],
"Start an extended hint mode",
function(arg){
setHinttags(self.isEnableLDRizeCooperation() && self.isModHints);
-
- if(arg == "f")
- liberator.modules.hints.show(liberator.modules.modes.ALWAYS_HINT, "o");
- else if(arg == "F")
- liberator.modules.hints.show(liberator.modules.modes.ALWAYS_HINT, "t");
- else
- liberator.modules.hints.show(liberator.modules.modes.EXTENDED_HINT, arg);
+ liberator.modules.hints.show(arg);
},
{ flags: liberator.modules.Mappings.flags.ARGUMENT });
//Commands
|