1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-29 12:03:31 +02:00

Fix minor issue caused by last commit.

This commit is contained in:
Kris Maglione
2010-12-09 22:30:13 -05:00
parent 75342f09ec
commit cb25879534

View File

@@ -327,6 +327,8 @@ lookup:
source: function (filename, silent) { source: function (filename, silent) {
defineModule.loadLog.push("sourcing " + filename); defineModule.loadLog.push("sourcing " + filename);
let time = Date.now(); let time = Date.now();
this.withSavedValues(["sourcing"], function () {
this.sourcing = null;
try { try {
var file = io.File(filename); var file = io.File(filename);
@@ -382,6 +384,7 @@ lookup:
finally { finally {
defineModule.loadLog.push("done sourcing " + filename + ": " + (Date.now() - time) + "ms"); defineModule.loadLog.push("done sourcing " + filename + ": " + (Date.now() - time) + "ms");
} }
});
}, },
// TODO: when https://bugzilla.mozilla.org/show_bug.cgi?id=68702 is // TODO: when https://bugzilla.mozilla.org/show_bug.cgi?id=68702 is