mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-10 16:44:12 +01:00
Add contexts.withContext.
--HG-- branch : groups
This commit is contained in:
@@ -150,8 +150,7 @@ var IO = Module("io", {
|
||||
params = params || {};
|
||||
|
||||
let time = Date.now();
|
||||
return contexts.withSavedValues(["context"], function _source() {
|
||||
contexts.context = null;
|
||||
return contexts.withContext(null, function () {
|
||||
try {
|
||||
var file = util.getFile(filename) || io.File(filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user