Implemented Hack and sleep in script. IMplemented functionality that allows scripts to stop (rejecting the Promises). Scripts will now automatically stop if they are not infinite. THIS IS UNTESTED TEST THIS WHEN I CAN. Still need to implement kill command

This commit is contained in:
Daniel Xie
2016-12-05 16:31:46 -06:00
parent 6d9f0669ba
commit 437ebc2703
6 changed files with 158 additions and 11 deletions
-1
View File
@@ -36,7 +36,6 @@ Reviver.constructors = {}; // A list of constructors the smart reviver should kn
function Generic_toJSON(ctorName, obj, keys) {
var data, index, key;
console.log("Generic_toJSON() called");
if (!keys) {
keys = Object.keys(obj); // Only "own" properties are included
}