aboutsummaryrefslogtreecommitdiffstats
path: root/ex_autocmd.js
diff options
context:
space:
mode:
authormattn2008-10-22 02:14:12 +0000
committermattn2008-10-22 02:14:12 +0000
commite621e1e43bda618521827f2233e9b45c7df3598e (patch)
treeca818c9251e3cac8b5095fc3d2d327326891bba3 /ex_autocmd.js
parentdbc7be92a367fba5edc6024c0a66358ec8f1d65f (diff)
downloadvimperator-plugins-e621e1e43bda618521827f2233e9b45c7df3598e.tar.bz2
follow latest vimperator.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@21820 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'ex_autocmd.js')
-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;
}
}