[Pkg-mozext-commits] [adblock-plus] 209/464: Don't call Main.init() explicitly, loading the script is enough

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:18 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit c749d486524254d81279746315f1a85eca9e8d05
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Mon Jan 23 13:30:06 2012 +0100

    Don't call Main.init() explicitly, loading the script is enough
---
 bootstrap.js.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bootstrap.js.tmpl b/bootstrap.js.tmpl
index 37748a9..72e5c58 100644
--- a/bootstrap.js.tmpl
+++ b/bootstrap.js.tmpl
@@ -35,7 +35,7 @@ function startup(params, reason)
   {%- set hasShutdownHandlers = True %}
   {%- endif %}
 
-  require("main").Main.init();
+  require("main");
 }
 
 function shutdown(params, reason)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list