From e621e1e43bda618521827f2233e9b45c7df3598e Mon Sep 17 00:00:00 2001 From: mattn Date: Wed, 22 Oct 2008 02:14:12 +0000 Subject: follow latest vimperator. git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@21820 d0d07461-0603-4401-acd4-de1884942a52 --- ex_autocmd.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ex_autocmd.js') diff --git a/ex_autocmd.js b/ex_autocmd.js index a0ad4b1..dccccda 100644 --- a/ex_autocmd.js +++ b/ex_autocmd.js @@ -1,5 +1,5 @@ // Vimperator plugin: 'Ex Autocmd' -// Last Change: 20-May-2008. Jan 2008 +// Last Change: 21-Oct-2008. Jan 2008 // License: Creative Commons // Maintainer: Trapezoid - http://unsigned.g.hatena.ne.jp/Trapezoid // @@ -11,8 +11,8 @@ var recentTabURI = null; function tabSelect(e){ - liberator.autocommands.trigger("TabLeave",recentTabURI ? recentTabURI : ""); - liberator.autocommands.trigger("TabSelect",gBrowser.selectedTab.linkedBrowser.contentWindow.location.href); + liberator.modules.autocommands.trigger("TabLeave",recentTabURI ? recentTabURI : ""); + liberator.modules.autocommands.trigger("TabSelect",gBrowser.selectedTab.linkedBrowser.contentWindow.location.href); recentTabURI = gBrowser.selectedTab.linkedBrowser.contentWindow.location.href; } gBrowser.tabContainer.addEventListener("TabSelect",tabSelect,false); @@ -21,7 +21,7 @@ gBrowser.tabContainer.addEventListener("TabSelect",tabSelect,false); function currentPageLoad(e){ var doc = e.originalTarget; if (doc instanceof HTMLDocument && doc == gBrowser.contentDocument){ - liberator.autocommands.trigger("CurrentPageLoad",doc.documentURI); + liberator.modules.autocommands.trigger("CurrentPageLoad",doc.documentURI); recentTabURI = doc.documentURI; } } -- cgit v1.2.3