aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2009-07-28 14:25:20 +0000
committeranekos2009-07-28 14:25:20 +0000
commit02eea40b01d1618044988ac860a6d3aa140a6237 (patch)
tree6f099f7a0c818a756605acd9e098e7cb57745858
parent4e2d53d0898a5a4269c7d7f4b2e5b9d7bae3461c (diff)
downloadvimperator-plugins-02eea40b01d1618044988ac860a6d3aa140a6237.tar.bz2
優先順位の修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@34666 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r--auto_detect_link.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/auto_detect_link.js b/auto_detect_link.js
index f742793..6e02af2 100644
--- a/auto_detect_link.js
+++ b/auto_detect_link.js
@@ -3,10 +3,10 @@ var PLUGIN_INFO =
<name>Auto Detect Link</name>
<description>Find (next|previous) link, and jump.</description>
<description lang="ja">(次|前)っぽいページへのリンクを探してジャンプ</description>
- <version>1.8</version>
+ <version>1.8.1</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<minVersion>2.0pre</minVersion>
- <maxVersion>2.0pre</maxVersion>
+ <maxVersion>2.2pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/auto_detect_link.js</updateURL>
<license document="http://creativecommons.org/licenses/by-sa/3.0/">
Creative Commons Attribution-Share Alike 3.0 Unported
@@ -247,7 +247,7 @@ var PLUGIN_INFO =
while (file && (dm = file.match(/\d+/))) {
let [rcontext, lcontext, lmatch] = [RegExp.rightContext, RegExp.leftContext, RegExp.lastMatch];
left += lcontext;
- succNumber(lmatch, next, ignoreId).forEach(function (succ) {
+ succNumber(lmatch, next, ignoreId).reverse().forEach(function (succ) {
temp.push(dir + left + succ + rcontext);
});
left += lmatch;