aboutsummaryrefslogtreecommitdiffstats
path: root/xpathBlink.js
diff options
context:
space:
mode:
Diffstat (limited to 'xpathBlink.js')
-rw-r--r--xpathBlink.js4
1 files changed, 2 insertions, 2 deletions
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);
}