Add contexts.withContext.

--HG--
branch : groups
This commit is contained in:
Kris Maglione committed 2011-02-07 23:51:29 -05:00
1 parent 76dee44cb9
commit 51a9fc8dea
5 files changed
+14 -13

No files matched your search

+1 -2
View File
@@ -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);