This commit is contained in:
danielyxie
2018-05-22 19:09:04 -05:00
parent f403bd14b7
commit 565f0dd517
25 changed files with 18392 additions and 17208 deletions
+4 -1
View File
@@ -345,7 +345,6 @@ Script.prototype.saveScript = function() {
//Calculate/update ram usage, execution time, etc.
this.updateRamUsage();
console.log(this.module);
this.module = "";
}
@@ -539,6 +538,10 @@ function parseOnlyCalculateDeps(code, currentModule) {
node.consequent && walkDeeper(node.consequent, st);
node.alternate && walkDeeper(node.alternate, st);
},
MemberExpression: (node, st, walkDeeper) => {
node.object && walkDeeper(node.object, st);
node.property && walkDeeper(node.property, st);
},
}
}