mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-02-27 12:29:51 +00:00
Cleared some temporary variables after use
To reduce memory consumption
This commit is contained in:
@@ -29,7 +29,9 @@ var JavaScriptParseTree = function(tree) {
|
||||
JavaScriptParseTree.prototype.render = function() {
|
||||
this.output = [];
|
||||
this.renderSubTree(this.tree);
|
||||
return this.output.join("");
|
||||
var r = this.output.join("");
|
||||
this.output = null;
|
||||
return r;
|
||||
};
|
||||
|
||||
// Render a subtree of the parse tree to an array of fragments of JavaScript source code
|
||||
|
||||
Reference in New Issue
Block a user