aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ex_autocmd.js8
1 files changed, 4 insertions, 4 deletions
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 <trapezoid.g@gmail.com> - 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;
}
}