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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user