aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2009-11-02 10:00:42 +0000
committeranekos2009-11-02 10:00:42 +0000
commitdb24ae5afa00146ae709a44a28a65adf400f1aa8 (patch)
treec25a045a9a5cbd333c25ac5fdc7b7ae15c0968e2
parentb059bd7607fb1c13133b69fd42a9f1f8456ef4c0 (diff)
downloadvimperator-plugins-db24ae5afa00146ae709a44a28a65adf400f1aa8.tar.bz2
Follow HEAD (2.3pre)
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35833 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r--PMWriter.js2
-rwxr-xr-x_libly.js8
-rw-r--r--appendAnchor.js2
-rw-r--r--auto_reload.js10
-rw-r--r--blinkelement.js10
-rw-r--r--bufferecho.js2
-rw-r--r--char-hints-mod2.js2
-rw-r--r--fetchyoutube.js8
-rw-r--r--gvimail.js6
-rw-r--r--hatenaStar.js8
-rw-r--r--highlight.js4
-rw-r--r--imageextender.js8
-rw-r--r--inspector.js8
-rw-r--r--matanico.js8
-rw-r--r--mkcolor.js8
-rw-r--r--nnp_cooperation.js2
-rw-r--r--pluginManager.js10
-rw-r--r--reveal-ie-ctrl-a-images.js8
-rw-r--r--scenario-actor.js6
-rw-r--r--stella.js2
-rw-r--r--takahashiPresentation.js12
-rw-r--r--xpathBlink.js8
22 files changed, 72 insertions, 70 deletions
diff --git a/PMWriter.js b/PMWriter.js
index 2891fed..9b65d5c 100644
--- a/PMWriter.js
+++ b/PMWriter.js
@@ -140,7 +140,7 @@
name: function () <a href={linkTo}>{otags.name.apply(otags, arguments)}</a>
};
- let files = io.readDirectory(pluginDirPath);
+ let files = io.File(pluginDirPath).readDirectory();
let indexHtml = <></>;
let allHtml = <></>;
let pminfos = [];
diff --git a/_libly.js b/_libly.js
index 6d547a8..f5cc789 100755
--- a/_libly.js
+++ b/_libly.js
@@ -12,9 +12,9 @@ var PLUGIN_INFO =
<description lang="ja">適当なライブラリっぽいものたち。</description>
<author mail="suvene@zeromemory.info" homepage="http://zeromemory.sblo.jp/">suVene</author>
<license>MIT</license>
- <version>0.1.24</version>
- <minVersion>1.2</minVersion>
- <maxVersion>2.0pre</maxVersion>
+ <version>0.1.25</version>
+ <minVersion>2.3pre</minVersion>
+ <maxVersion>2.3pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/_libly.js</updateURL>
<detail><![CDATA[
== Objects ==
@@ -322,7 +322,7 @@ libly.$U = {//{{{
// }}}
// System {{{
readDirectory: function(path, filter, func) {
- var d = io.getFile(path);
+ var d = io.File(path);
if (d.exists() && d.isDirectory()) {
let enm = d.directoryEntries;
let flg = false;
diff --git a/appendAnchor.js b/appendAnchor.js
index 3d32538..7067fbb 100644
--- a/appendAnchor.js
+++ b/appendAnchor.js
@@ -57,7 +57,7 @@ let PLUGIN_INFO =
const doc = window.content.document;
const range = doc.createRange();
- let nodes = liberator.modules.buffer.evaluateXPath(xpathQueryPlainText);
+ let nodes = util.evaluateXPath(xpathQueryPlainText);
for (let node in nodes) {
while (node) {
range.selectNode(node)
diff --git a/auto_reload.js b/auto_reload.js
index c959529..af02616 100644
--- a/auto_reload.js
+++ b/auto_reload.js
@@ -39,12 +39,12 @@ let PLUGIN_INFO =
<name lang="ja">自動リロード</name>
<description>Watch local file, and automatically reload current page when the file is modified.</description>
<description lang="ja">ローカルのファイルを監視して、現在のページをリロードする</description>
- <version>1.0.0</version>
+ <version>1.0.1</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<license>new BSD License (Please read the source code comments of this plugin)</license>
<license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license>
- <minVersion>2.0pre</minVersion>
- <maxVersion>2.0pre</maxVersion>
+ <minVersion>2.3pre</minVersion>
+ <maxVersion>2.3pre</maxVersion>
<detail><![CDATA[
制作中
]]></detail>
@@ -68,13 +68,13 @@ let PLUGIN_INFO =
let func = reload = function () tabs.reload(tab);
let time = parseInt(parseFloat(args[0] || 1) * 1000);
- let (file = io.getFile(args.string)) {
+ let (file = io.File(args.string)) {
if (file.exists() && file.isFile()) {
let filepath = file.path;
storage.lastModifiedTime = file.lastModifiedTime;
time = 200;
func = function () {
- let file = io.getFile(filepath);
+ let file = io.File(filepath);
let mt = file.lastModifiedTime;
if (storage.lastModifiedTime == mt)
return;
diff --git a/blinkelement.js b/blinkelement.js
index 81b379e..af9ca75 100644
--- a/blinkelement.js
+++ b/blinkelement.js
@@ -4,8 +4,8 @@
* @description blink specified elements.
* @description-ja 指定した要素を点滅させる。
* @author janus_wel <janus_wel@fb3.so-net.ne.jp>
- * @version 0.31
- * @minversion 2.0pre 2008/10/16
+ * @version 0.32
+ * @minversion 2.3pre 2009/11/02
* ==/VimperatorPlugin==
*
* LICENSE
@@ -34,7 +34,7 @@
* let blink_element_opacity='0.7'
*
* :bl content.document.getElementsByTagName('A');
- * :bl buffer.evaluateXPath('//a');
+ * :bl util.evaluateXPath('//a');
* :nobl
* */
@@ -98,8 +98,10 @@ commands.addUserCommand(
}
},
{
+ literal: 0,
completer: function (filter) completion.javascript(filter),
- }
+ },
+ true
);
commands.addUserCommand(
diff --git a/bufferecho.js b/bufferecho.js
index 641053f..10f48e9 100644
--- a/bufferecho.js
+++ b/bufferecho.js
@@ -28,7 +28,7 @@ commands.addUserCommand(['bufferecho','becho'],'Display results of JavaScript to
);
var manager = {
append: function(htmlString){
- var body = buffer.evaluateXPath('/html/body').snapshotItem(0);
+ var body = util.evaluateXPath('/html/body').snapshotItem(0);
body.innerHTML += htmlString;
},
open: function(str, forceNewTab) {
diff --git a/char-hints-mod2.js b/char-hints-mod2.js
index 880ca5f..ead68a6 100644
--- a/char-hints-mod2.js
+++ b/char-hints-mod2.js
@@ -125,7 +125,7 @@ let g:hintlabeling:
{
let hints = [];
(function (win) {
- let elems = [elem for(elem in buffer.evaluateXPath('//*[@liberator:highlight="Hint" and @number]', win.document))];
+ let elems = [elem for(elem in util.evaluateXPath('//*[@liberator:highlight="Hint" and @number]', win.document))];
hints = hints.concat(elems);
Array.forEach(win.frames, arguments.callee);
})(win);
diff --git a/fetchyoutube.js b/fetchyoutube.js
index 8d77f06..a19c823 100644
--- a/fetchyoutube.js
+++ b/fetchyoutube.js
@@ -2,10 +2,10 @@
// @name Fetch YouTube Video
// @description Fetch YouTube Video (fmt=22)
// @license Creative Commons 2.1 (Attribution + Share Alike)
-// @version 1.1
+// @version 1.1.1
// @author anekos (anekos@snca.net)
-// @minVersion 2.0pre
-// @maxVersion 2.0pre
+// @minVersion 2.3pre
+// @maxVersion 2.3pre
// ==/VimperatorPlugin==
//
// Usage:
@@ -54,7 +54,7 @@
let file;
if (filepath) {
- file = io.getFile(io.expandPath(filepath));
+ file = io.File(io.expandPath(filepath));
} else {
file = dm.userDownloadsDirectory;
}
diff --git a/gvimail.js b/gvimail.js
index 49a8826..c3b7658 100644
--- a/gvimail.js
+++ b/gvimail.js
@@ -5,7 +5,7 @@
* @description Make Gmail behave like Vim
* @author Mahefa Randimbisoa (DotMG) <dotmg@users.sourceforge.net>
* @license GPL 2.0
- * @requires Vimperator 0.6pre, Gmail v1 or v2
+ * @requires Vimperator 2.3pre
* @url http://code.google.com/p/gvimail/
* @version 0.1
* ==/VimperatorPlugin==
@@ -36,7 +36,7 @@
if (canvas_frame) return (canvas_frame);
if (use_gmail_v1)
{// On older versions of Gmail, The main canvas is the iframe that has the attribute left: 0pt
- return (buffer.evaluateXPath('//iframe[contains(@style, "left: 0pt")]', window.content.frames[0].document, null, true).iterateNext());
+ return (util.evaluateXPath('//iframe[contains(@style, "left: 0pt")]', window.content.frames[0].document, null, true).iterateNext());
}
return null;
},
@@ -44,7 +44,7 @@
/// or a part of the src attribute of the img element (for Gmail v1)
clickImage : function (classnamev2, imgsrcv1)
{
- var elem = buffer.evaluateXPath('//*[contains(concat(" ", @class, " "), " '+classnamev2+' ")] | //img[contains(@src, "'+imgsrcv1+'")]', GViMail.getMainCanvas().contentDocument, null, true).iterateNext();
+ var elem = util.evaluateXPath('//*[contains(concat(" ", @class, " "), " '+classnamev2+' ")] | //img[contains(@src, "'+imgsrcv1+'")]', GViMail.getMainCanvas().contentDocument, null, true).iterateNext();
// hmm, the code below generates a log: Invalid argument for followLink.
buffer.followLink(elem, liberator.CURRENT_TAB);
},
diff --git a/hatenaStar.js b/hatenaStar.js
index a5e0714..1d07ac1 100644
--- a/hatenaStar.js
+++ b/hatenaStar.js
@@ -4,9 +4,9 @@ var PLUGIN_INFO =
<description>Add Hatena Star.</description>
<description lang="ja">はてなスターをつける。</description>
<author mail="mattn.jp@gmail.com">mattn</author>
- <version>0.1.2</version>
- <minVersion>2.2pre</minVersion>
- <maxVersion>2.2pre</maxVersion>
+ <version>0.1.3</version>
+ <minVersion>2.3pre</minVersion>
+ <maxVersion>2.3pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/hatenaStar.js</updateURL>
</VimperatorPlugin>;
(function() {
@@ -60,7 +60,7 @@ liberator.modules.commands.addUserCommand(['hatenastar', 'hatenas'], 'add Hatena
function (args) {
try {
var arg = args.string;
- let result = buffer.evaluateXPath(StarXPath);
+ let result = util.evaluateXPath(StarXPath);
let m = arg.match(/^(\d+)\?$/);
if (m) {
blink(result.snapshotItem(Number(m[1])-1));
diff --git a/highlight.js b/highlight.js
index 60dda04..56dd61c 100644
--- a/highlight.js
+++ b/highlight.js
@@ -4,8 +4,8 @@
* @description Factory for the object to highlight specified element[s]. this set in plugins.highlighterFactory.
* @description-ja 指定した要素をハイライトするオブジェクトを返す Factory 。 plugins.highlighterFactory に構築される。
* @author janus_wel <janus_wel@fb3.so-net.ne.jp>
- * @version 0.11
- * @minversion 2.0pre 2008/10/16
+ * @version 0.12
+ * @minversion 2.3pre 2009/11/02
* ==/VimperatorPlugin==
*
* LICENSE
diff --git a/imageextender.js b/imageextender.js
index d8c0189..d9078b8 100644
--- a/imageextender.js
+++ b/imageextender.js
@@ -39,9 +39,9 @@ let PLUGIN_INFO =
<description lang="ja">画像操作特集。</description>
<author mail="janus_wel@fb3.so-net.ne.jp" homepage="http://d.hatena.ne.jp/janus_wel">janus_wel</author>
<license document="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
- <version>0.20</version>
- <minversion>2.0</minversion>
- <maxversion>2.1pre</maxversion>
+ <version>0.21</version>
+ <minversion>2.3pre</minversion>
+ <maxversion>2.3pre</maxversion>
<detail><![CDATA[
== USAGE ==
Extended-hints mode ';m' to yank image URL and ';M' to save image are
@@ -243,7 +243,7 @@ commands.addUserCommand(
'download all images of current page',
function () {
// refer: http://d.hatena.ne.jp/amachang/20071108/1194501306
- let images = buffer.evaluateXPath(query);
+ let images = util.evaluateXPath(query);
let l = images.snapshotLength;
let i = 0;
setTimeout ( function a() {
diff --git a/inspector.js b/inspector.js
index 38022c3..7404dbf 100644
--- a/inspector.js
+++ b/inspector.js
@@ -4,9 +4,9 @@ let PLUGIN_INFO =
<description>DOM Inspector command</description>
<require type="extension" id="inspector@mozilla.org">DOM Inspector</require>
<author mail="teramako@gmail.com" homepage="http://vimperator.g.hatena.ne.jp/teramako/">teramako</author>
-<version>0.2</version>
-<minVersion>2.0pre</minVersion>
-<maxVersion>2.0</maxVersion>
+<version>0.3</version>
+<minVersion>2.3pre</minVersion>
+<maxVersion>2.3pre</maxVersion>
<detail><![CDATA[
== Usage ==
:inspect #{id}:
@@ -43,7 +43,7 @@ function runInspector(node){
function getIDList(filter, isChrome){
var doc = isChrome ? document : content.document;
- var iter = buffer.evaluateXPath('//*[@id and contains(@id,"' + filter + '")]',doc);
+ var iter = util.evaluateXPath('//*[@id and contains(@id,"' + filter + '")]',doc);
return [["#" + e.id, "TagName: "+ e.tagName] for (e in iter)];
}
diff --git a/matanico.js b/matanico.js
index 48dea01..a005a0e 100644
--- a/matanico.js
+++ b/matanico.js
@@ -5,9 +5,9 @@ let PLUGIN_INFO =
<description lang="ja">今見ている動画 / 検索結果の情報を Twitter に投稿する。</description>
<author mail="janus_wel@fb3.so-net.ne.jp" homepage="http://d.hatena.ne.jp/janus_wel">janus_wel</author>
<license document="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
-<version>0.71</version>
-<minVersion>2.0pre</minVersion>
-<maxVersion>2.0pre</maxVersion>
+<version>0.72</version>
+<minVersion>2.3pre</minVersion>
+<maxVersion>2.3pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/matanico.js</updateURL>
<detail><![CDATA[
== EX-COMMANDS ==
@@ -182,7 +182,7 @@ NicoScraper.prototype = {
getTagName: function () {
if (this.pagecheck() === 'tag') {
- let wordNodes = liberator.modules.buffer.evaluateXPath('id("search_words")/span[contains(concat(" ", @class, " "), " search_word ")]');
+ let wordNodes = liberator.modules.util.evaluateXPath('id("search_words")/span[contains(concat(" ", @class, " "), " search_word ")]');
let words = [];
for (let wordNode in wordNodes) words.push(wordNode.textContent);
return words.join(' ');
diff --git a/mkcolor.js b/mkcolor.js
index e6cf738..40870ff 100644
--- a/mkcolor.js
+++ b/mkcolor.js
@@ -39,13 +39,13 @@ let PLUGIN_INFO =
<name lang="ja">mkcolor</name>
<description>Write current highlights to the specified file.</description>
<description lang="ja">現在のHighlightを指定のファイルに書き出す。</description>
- <version>1.0.1</version>
+ <version>1.0.2</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<license>new BSD License (Please read the source code comments of this plugin)</license>
<license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license>
<updateURL>http://coderepos.org/share/export/27234/lang/javascript/vimperator-plugins/trunk/mkcolor.js</updateURL>
- <minVersion>2.0pre</minVersion>
- <maxVersion>2.0pre</maxVersion>
+ <minVersion>2.3pre</minVersion>
+ <maxVersion>2.3pre</maxVersion>
<detail><![CDATA[
== Commands ==
- mkcolor <FILENAME>
@@ -78,7 +78,7 @@ let PLUGIN_INFO =
'Write current highlights to the specified file',
function (args) {
let filename = args[0];
- let file = io.getFile(filename);
+ let file = io.File(filename);
if (file.exists() && !args.bang)
return liberator.echoerr(filename + ' already exists (add ! to override)');
io.writeFile(file, getcolor());
diff --git a/nnp_cooperation.js b/nnp_cooperation.js
index c03273e..ea96aac 100644
--- a/nnp_cooperation.js
+++ b/nnp_cooperation.js
@@ -108,7 +108,7 @@ liberator.modules.commands.addUserCommand(
}
// check existence of items in NicoNicoPlaylist
- let nodes = buffer.evaluateXPath(
+ let nodes = util.evaluateXPath(
'id("' + playlistNode.id + '")/div[contains(concat(" ", @class, " "), " playlist-list-outer ")]/ul/li/a'
);
let nodesLength = nodes.snapshotLength;
diff --git a/pluginManager.js b/pluginManager.js
index 8069b6f..b7e07cc 100644
--- a/pluginManager.js
+++ b/pluginManager.js
@@ -4,9 +4,9 @@ var PLUGIN_INFO =
<description>Manage Vimperator Plugins</description>
<description lang="ja">Vimpeatorプラグインの管理</description>
<author mail="teramako@gmail.com" homepage="http://d.hatena.ne.jp/teramako/">teramako</author>
-<version>0.6.3</version>
-<minVersion>2.0pre</minVersion>
-<maxVersion>2.0pre</maxVersion>
+<version>0.6.4</version>
+<minVersion>2.3pre</minVersion>
+<maxVersion>2.3pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/pluginManager.js</updateURL>
<detail lang="ja"><![CDATA[
これはVimperatorプラグインの詳細情報orヘルプを表示するためのプラグインです。
@@ -339,7 +339,7 @@ Plugin.prototype = { // {{{
var localpath = plugin[0][1];
*/
var source = serverResource.source;
- var file = io.getFile(this.path);
+ var file = io.File(this.path);
if (!source)
return '<span highlight="WarningMsg">source is null.</span>';
@@ -994,7 +994,7 @@ var public = {
const npi = /\/(all|index)\.html/;
const js = /\.js$/i;
function xe(xpath){
- let ss = buffer.evaluateXPath(xpath);
+ let ss = util.evaluateXPath(xpath);
return (ss.snapshotLength > 0) && ss.snapshotItem(0).href;
}
if (cr.test(url)) {
diff --git a/reveal-ie-ctrl-a-images.js b/reveal-ie-ctrl-a-images.js
index 40f4268..01d8af1 100644
--- a/reveal-ie-ctrl-a-images.js
+++ b/reveal-ie-ctrl-a-images.js
@@ -38,13 +38,13 @@ let PLUGIN_INFO =
<name>Reveal Image</name>
<description>Reveal IE Ctrl-A images.</description>
<description lang="ja">IE の Ctrl-A 画像を暴く</description>
- <version>1.0.3</version>
+ <version>1.0.4</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<license>new BSD License (Please read the source code comments of this plugin)</license>
<license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/reveal-ie-ctrl-a-images.js</updateURL>
- <minVersion>2.0pre</minVersion>
- <maxVersion>2.0</maxVersion>
+ <minVersion>2.3pre</minVersion>
+ <maxVersion>2.3pre</maxVersion>
<detail><![CDATA[
== Description ==
Reveal IE Ctrl-A images.
@@ -111,7 +111,7 @@ let PLUGIN_INFO =
// for debug
if (0) {
let xpath = '/html/body/div[2]/div[3]/table/tbody/tr/td[2]/div/table/tbody/tr/td[2]/div/img';
- let node = buffer.evaluateXPath(xpath).snapshotItem(0);
+ let node = util.evaluateXPath(xpath).snapshotItem(0);
reveal(node, 1);
}
diff --git a/scenario-actor.js b/scenario-actor.js
index 145494a..ad134ce 100644
--- a/scenario-actor.js
+++ b/scenario-actor.js
@@ -4,8 +4,8 @@ var PLUGIN_INFO =
<name>{NAME}</name>
<description>browser act scenario semi-automatic.</description>
<author mail="konbu.komuro@gmail.com" homepage="http://d.hatena.ne.jp/hogelog/">hogelog</author>
- <version>0.0.6</version>
- <minVersion>2.0a2</minVersion>
+ <version>0.0.7</version>
+ <minVersion>2.3pre</minVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/scenario-actor.js</updateURL>
<detail><![CDATA[
== Usage ==
@@ -154,7 +154,7 @@ function ScenarioActor () { //{{{
},
xpath: function (xpath) {
if((typeof xpath)!='string'||!win.document) throw [name, value];
- return buffer.evaluateXPath(xpath, win.document).snapshotItem(0);
+ return util.evaluateXPath(xpath, win.document).snapshotItem(0);
},
value: function (dst, src) {
let edst = self.eval({xpath: self.eval(dst)});
diff --git a/stella.js b/stella.js
index 18cd8a2..60c9cb6 100644
--- a/stella.js
+++ b/stella.js
@@ -200,7 +200,7 @@ Thanks:
let file;
if (filepath) {
- file = io.getFile(io.expandPath(filepath));
+ file = io.File(io.expandPath(filepath));
} else {
file = dm.userDownloadsDirectory;
}
diff --git a/takahashiPresentation.js b/takahashiPresentation.js
index 42f62da..dbeaf8b 100644
--- a/takahashiPresentation.js
+++ b/takahashiPresentation.js
@@ -4,9 +4,9 @@ var PLUGIN_INFO =
<name>{NAME}</name>
<description>simple takahashi-method presentation tool</description>
<author mail="konbu.komuro@gmail.com" homepage="http://d.hatena.ne.jp/hogelog/">hogelog</author>
- <version>0.1</version>
- <minVersion>2.0a1</minVersion>
- <maxVersion>2.0a1</maxVersion>
+ <version>0.1.1</version>
+ <minVersion>2.3pre</minVersion>
+ <maxVersion>2.3pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/takahashiPresentation.js</updateURL>
<date>2008/12/23 09:20:07</date>
<detail><![CDATA[
@@ -103,13 +103,13 @@ start :presentation.
options.guioptions = '';
win = window.content;
doc = win.document;
- let text = buffer.evaluateXPath('//div[@id="text"]').snapshotItem(0);
+ let text = util.evaluateXPath('//div[@id="text"]').snapshotItem(0);
pages = parsePages(text.innerHTML);
addKeys();
- header = buffer.evaluateXPath('//*[@id="header"]').snapshotItem(0);
+ header = util.evaluateXPath('//*[@id="header"]').snapshotItem(0);
- pre = buffer.evaluateXPath('//pre[@id="page"]').snapshotItem(0);
+ pre = util.evaluateXPath('//pre[@id="page"]').snapshotItem(0);
pre.style.fontSize = fontSize+'px';
pre.style.margin = '0px';
diff --git a/xpathBlink.js b/xpathBlink.js
index 64519a7..f3c9b3b 100644
--- a/xpathBlink.js
+++ b/xpathBlink.js
@@ -5,9 +5,9 @@ var PLUGIN_INFO =
<author mail="teramako@gmail.com" homepage="http://vimperator.g.hatena.ne.jp/teramako/">teramako</author>
<require type="extension" id="inspector@mozilla.org">DOM Inspector</require>
<license>MPL 1.1</license>
-<version>1.0</version>
-<minVersion>1.2</minVersion>
-<maxVersion>2.0</maxVersion>
+<version>1.0.1</version>
+<minVersion>2.3pre</minVersion>
+<maxVersion>2.3pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/xpathBlink.js</updateURL>
<detail><![CDATA[
for test xpath
@@ -57,7 +57,7 @@ commands.addUserCommand(['xpathb[link]','xb'],'XPath blink nodes',
function(expression){
var result
try {
- result = buffer.evaluateXPath(expression.string);
+ result = util.evaluateXPath(expression.string);
} catch(e) {
liberator.echoerr('XPath blink: ' + e);
}