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 --- ubiquity.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ubiquity.js') diff --git a/ubiquity.js b/ubiquity.js index 7f17236..ab3881e 100644 --- a/ubiquity.js +++ b/ubiquity.js @@ -42,12 +42,12 @@ function preExec(target,name,func){ } } -preExec(liberator.events, 'onEscape', function(){ +preExec(events, 'onEscape', function(){ if (ubiquityManager.panel.state == 'open') gUbiquity.closeWindow(); }); var focusedWindow = null; var focusedElement = null; -preExec(liberator.commandline, 'open', function(){ +preExec(commandline, 'open', function(){ focusedWindow = document.commandDispatcher.focusedWindow; focusedElement = document.commandDispatcher.focusedElement; }); @@ -63,7 +63,7 @@ preExec(gUbiquity, 'openWindow', function(anchor, flag){ // ------------------------------------------------- // Command // ------------------------------------------------- -liberator.commands.addUserCommand(['ubi[quity]'],'Vimperator Ubiquity Glue', +commands.addUserCommand(['ubi[quity]'],'Vimperator Ubiquity Glue', function(args){ if (!args){ gUbiquity.openWindow(getBrowser(), true); -- cgit v1.2.3