mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-21 04:51:26 +02:00
Fix minor issue caused by last commit.
This commit is contained in:
@@ -327,6 +327,8 @@ lookup:
|
||||
source: function (filename, silent) {
|
||||
defineModule.loadLog.push("sourcing " + filename);
|
||||
let time = Date.now();
|
||||
this.withSavedValues(["sourcing"], function () {
|
||||
this.sourcing = null;
|
||||
try {
|
||||
var file = io.File(filename);
|
||||
|
||||
@@ -382,6 +384,7 @@ lookup:
|
||||
finally {
|
||||
defineModule.loadLog.push("done sourcing " + filename + ": " + (Date.now() - time) + "ms");
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
// TODO: when https://bugzilla.mozilla.org/show_bug.cgi?id=68702 is
|
||||
|
||||
Reference in New Issue
Block a user