load TreeStyleTabWindow and TreeStyleTabBrowser constructors in the main window
This commit is contained in:
parent
d67ecd7d80
commit
01200acccd
@ -12,14 +12,15 @@
|
|||||||
<script src="res/UninstallationListener.js" type="application/javascript"/>
|
<script src="res/UninstallationListener.js" type="application/javascript"/>
|
||||||
|
|
||||||
<script type="application/javascript"><![CDATA[
|
<script type="application/javascript"><![CDATA[
|
||||||
(function() {
|
|
||||||
var ns = {};
|
Components.utils.import('resource://treestyletab-modules/window.js');
|
||||||
Components.utils.import('resource://treestyletab-modules/window.js', ns);
|
Components.utils.import('resource://treestyletab-modules/browser.js');
|
||||||
new ns.TreeStyleTabWindow(window);
|
new TreeStyleTabWindow(window);
|
||||||
})();
|
|
||||||
]]></script>
|
]]></script>
|
||||||
|
|
||||||
<script src="windowHelper.js" type="application/javascript"/>
|
<script src="windowHelper.js" type="application/javascript"/>
|
||||||
<script src="hacks.js" type="application/javascript"/>
|
<script src="windowHelperHacks.js" type="application/javascript"/>
|
||||||
|
|
||||||
<script src="bookmarksOverlay.js" type="application/javascript"/>
|
<script src="bookmarksOverlay.js" type="application/javascript"/>
|
||||||
<script src="bookmarksOverlayEditable.js" type="application/javascript"/>
|
<script src="bookmarksOverlayEditable.js" type="application/javascript"/>
|
||||||
|
@ -56,18 +56,18 @@ var TreeStyleTabWindowHelper = {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.overrideExtensionsPreInit(); // hacks.js
|
this.overrideExtensionsPreInit(); // windowHelperHacks.js
|
||||||
},
|
},
|
||||||
|
|
||||||
onBeforeBrowserInit : function TSTWH_onBeforeBrowserInit()
|
onBeforeBrowserInit : function TSTWH_onBeforeBrowserInit()
|
||||||
{
|
{
|
||||||
this.overrideExtensionsBeforeBrowserInit(); // hacks.js
|
this.overrideExtensionsBeforeBrowserInit(); // windowHelperHacks.js
|
||||||
this.overrideGlobalFunctions();
|
this.overrideGlobalFunctions();
|
||||||
},
|
},
|
||||||
|
|
||||||
onAfterBrowserInit : function TSTWH_onAfterBrowserInit()
|
onAfterBrowserInit : function TSTWH_onAfterBrowserInit()
|
||||||
{
|
{
|
||||||
this.overrideExtensionsAfterBrowserInit(); // hacks.js
|
this.overrideExtensionsAfterBrowserInit(); // windowHelperHacks.js
|
||||||
},
|
},
|
||||||
|
|
||||||
updateTabDNDObserver : function TSTWH_updateTabDNDObserver(aObserver)
|
updateTabDNDObserver : function TSTWH_updateTabDNDObserver(aObserver)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user