aboutsummaryrefslogtreecommitdiffstats
path: root/epub-reader.js
diff options
context:
space:
mode:
authoranekos2011-09-15 09:48:56 +0900
committeranekos2011-09-15 20:02:11 +0900
commit11c36b8e2f335237d805958ab49c2eb9eff4bd03 (patch)
treeb53f746bb73c4a62669d29c2572975520cc79b95 /epub-reader.js
parent22955ce6e44959be4b9bf3fba6f2b01330926637 (diff)
downloadvimperator-plugins-11c36b8e2f335237d805958ab49c2eb9eff4bd03.tar.bz2
4 あたり死んだアイツ。
Diffstat (limited to 'epub-reader.js')
-rw-r--r--epub-reader.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/epub-reader.js b/epub-reader.js
index 6913c80..394c521 100644
--- a/epub-reader.js
+++ b/epub-reader.js
@@ -1,5 +1,5 @@
/* NEW BSD LICENSE {{{
-Copyright (c) 2010, anekos.
+Copyright (c) 2010-2011, anekos.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
@@ -35,7 +35,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
// INFO {{{
let INFO =
<>
- <plugin name="ePub Reader" version="1.1.0"
+ <plugin name="ePub Reader" version="1.1.1"
href="http://vimpr.github.com/"
summary="for ePub Reader addon"
lang="en-US"
@@ -68,7 +68,7 @@ let INFO =
</code>
</p>
</plugin>
- <plugin name="ePub Reader" version="1.1.0"
+ <plugin name="ePub Reader" version="1.1.1"
href="http://vimpr.github.com/"
summary="for ePub Reader addon"
lang="ja"
@@ -165,7 +165,7 @@ let INFO =
jump:
withCompleter(
function (index) {
- buffer.followLink(getIndexLinks()[index]);
+ buffer.followLink(getIndexLinks()[index], liberator.CURRENT_TAB);
},
function (context, args) {
context.compare = void 0;
@@ -202,7 +202,7 @@ let INFO =
['epubreader'],
'ePub Reader addon controler',
function (args) {
- if (!ReaderUrls(buffer.URL))
+ if (!ReaderUrls.test(buffer.URL))
return liberator.echoerr('Not in ePub Reader');
let [cmd, num] = args;