Load plugins/sourced JS files into the plugins namespace.

This commit is contained in:
Kris Maglione committed 2008-11-25 21:47:50 +00:00
1 parent 75c35aca60
commit 2a3081f03f
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -793,7 +793,7 @@ lookup:
.getService(Components.interfaces.mozIJSSubScriptLoader);
try
{
loader.loadSubScript(uri.spec, modules);
loader.loadSubScript(uri.spec, plugins);
}
catch (e)
{
+1
View File
@@ -27,6 +27,7 @@ the terms of any one of the MPL, the GPL or the LGPL.
}}} ***** END LICENSE BLOCK *****/
const plugins = {};
plugins.__proto__ = modules;
const liberator = (function () //{{{
{