Playtesting- fixed bugs

This commit is contained in:
Daniel Xie
2017-04-19 00:02:40 -05:00
parent 77f386d14a
commit 650bdf1f3f
7 changed files with 36 additions and 16 deletions
+3 -1
View File
@@ -7,7 +7,9 @@
// off to that `fromJSON` fuunction, passing in the value.
function Reviver(key, value) {
var ctor;
//console.log("Reviver called with key: " + key + ", and value: " + value);
if (value == null) {
console.log("Reviver WRONGLY called with key: " + key + ", and value: " + value);
}
if (typeof value === "object" &&
typeof value.ctor === "string" &&
typeof value.data !== "undefined") {