From 2f298d0a69ba565764d8392d4978afaa11dd81bd Mon Sep 17 00:00:00 2001
From: anekos
Date: Tue, 2 Mar 2010 11:44:31 +0000
Subject: ローカルなマッピングを優先するハックを導入
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@36901 d0d07461-0603-4401-acd4-de1884942a52
---
feedSomeKeys_3.js | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
(limited to 'feedSomeKeys_3.js')
diff --git a/feedSomeKeys_3.js b/feedSomeKeys_3.js
index 691a377..259481b 100755
--- a/feedSomeKeys_3.js
+++ b/feedSomeKeys_3.js
@@ -39,13 +39,14 @@ let PLUGIN_INFO =
feedSomeKeys 3
feed some defined key events into the Web content
キーイベントをWebコンテンツ側に送る
- 1.0.5
+ 1.1.0
anekos
new BSD License (Please read the source code comments of this plugin)
修正BSDライセンス (ソースコードのコメントを参照してください)
http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/feedSomeKeys_3.js
2.3
2.3
+ _libly.js
@@ -347,6 +348,17 @@ let INFO =
);
});
+ plugins.libly.$U.around(
+ mappings,
+ 'getCandidates',
+ function (next, [mode, prefix, patternOrUrl]) {
+ let map = mappings.get(mode, prefix, patternOrUrl);
+ if (map && map.matchingUrls)
+ return [];
+ return next();
+ }
+ );
+
__context__.API =
'VKeys feed getFrames fromXPath virtualize'.split(/\s+/).reduce(
function (result, name)
--
cgit v1.2.3