1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 02:04:11 +01:00

Fix tab number updates in FF36. Closes issue 300.

This commit is contained in:
Kris Maglione
2011-01-26 16:22:29 -05:00
parent a6fe97b787
commit 218562e21b
48 changed files with 498 additions and 8666 deletions

View File

@@ -185,8 +185,10 @@ var IO = Module("io", {
else if (/\.css$/.test(filename))
styles.registerSheet(uri.spec, false, true);
else {
if (!(file.path in plugins))
plugins[file.path] = modules.newContext(modules.userContext);
modules.commands.execute(file.read(), null, silent || "loud", null,
{ file: file.path, line: 1 });
{ file: file.path, line: 1, context: plugins[file.path] });
}
if (this._scriptNames.indexOf(file.path) == -1)