mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 12:32:30 +02:00
Add contexts.withContext.
--HG-- branch : groups
This commit is contained in:
1 parent
76dee44cb9
commit
51a9fc8dea
5 files changed
+14
-13
No files matched your search
@@ -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