Fixed: Removed old print statements for debugging

This commit is contained in:
Martin Carlberg
2017-06-26 16:24:51 +02:00
parent 1fa8c88f6b
commit c0233c803d
2 changed files with 5 additions and 7 deletions
@@ -2,22 +2,21 @@
function ObjectiveJLoader() {
var loader = {};
var factories = {};
loader.reload = function(topId, path) {
if (!global.ObjectiveJ)
if (!global.ObjectiveJ)
global.ObjectiveJ = require("objective-j");
//print("loading objective-j: " + topId + " (" + path + ")");
factories[topId] = ObjectiveJ.make_narwhal_factory(path);
factories[topId].path = path;
}
loader.load = function(topId, path) {
if (!factories.hasOwnProperty(topId))
loader.reload(topId, path);
return factories[topId];
}
return loader;
};
-1
View File
@@ -256,7 +256,6 @@ function reforkWithPackages()
if (additionalPackages().length > 0)
{
var cmd = serializedENV() + " " + system.args.map(OS.enquote).join(" ");
//print("REFORKING: " + cmd);
OS.exit(OS.system(cmd));
}
}