From 3dc8e4e07e475876801ff602bd9e047c92203934 Mon Sep 17 00:00:00 2001 From: teramako Date: Wed, 15 Oct 2008 15:28:45 +0000 Subject: namespaceの省略(vimperator CVS headと旧版との互換性維持のため) git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@21395 d0d07461-0603-4401-acd4-de1884942a52 --- xpathBlink.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xpathBlink.js') diff --git a/xpathBlink.js b/xpathBlink.js index 8898d95..ac94b71 100644 --- a/xpathBlink.js +++ b/xpathBlink.js @@ -39,11 +39,11 @@ function blink(aNode){ setTimeout(setOutline, i * 100); } } -liberator.commands.addUserCommand(['xpathb[link]','xb'],'XPath blink nodes', +commands.addUserCommand(['xpathb[link]','xb'],'XPath blink nodes', function(expression){ var result try { - result = liberator.buffer.evaluateXPath(expression); + result = buffer.evaluateXPath(expression); } catch(e) { liberator.echoerr('XPath blink: ' + e); } -- cgit v1.2.3