1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-20 21:01:26 +02: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
+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 () //{{{
{