v0.34.5. Also adding webpack config and package-lock.json

This commit is contained in:
danielyxie
2018-02-24 16:55:06 -06:00
parent 85ccb294dd
commit 779ce25ae5
49 changed files with 5537 additions and 1475 deletions
+3 -2
View File
@@ -19,16 +19,17 @@ function WorkerScript(runningScriptObj) {
this.serverIp = null;
this.code = runningScriptObj.scriptRef.code;
this.env = new Environment(this);
this.env.set("args", runningScriptObj.args);
this.env.set("args", runningScriptObj.args.slice());
this.output = "";
this.ramUsage = 0;
this.scriptRef = runningScriptObj;
this.errorMessage = "";
this.args = runningScriptObj.args;
this.args = runningScriptObj.args.slice();
this.delay = null;
this.fnWorker = null; //Workerscript for a function call
this.checkingRam = false;
this.loadedFns = {}; //Stores names of fns that are "loaded" by this script, thus using RAM
this.disableLogs = {}; //Stores names of fns that should have logs disabled
}
//Returns the server on which the workerScript is running