1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 15:52:29 +01:00

Load plugins/sourced JS files into the plugins namespace.

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

View File

@@ -793,7 +793,7 @@ lookup:
.getService(Components.interfaces.mozIJSSubScriptLoader);
try
{
loader.loadSubScript(uri.spec, modules);
loader.loadSubScript(uri.spec, plugins);
}
catch (e)
{

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 () //{{{
{