mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-01 12:07:13 +00:00
Cleared some temporary variables after use
To reduce memory consumption
This commit is contained in:
@@ -47,7 +47,10 @@ WikiTextParser.prototype.parse = function(text) {
|
||||
this.dependencies = [];
|
||||
this.output = null;
|
||||
this.subWikify(this.children);
|
||||
return new WikiTextParseTree(this.children,this.dependencies,this.store);
|
||||
var tree = new WikiTextParseTree(this.children,this.dependencies,this.store);
|
||||
this.source = null;
|
||||
this.children = null;
|
||||
return tree;
|
||||
};
|
||||
|
||||
WikiTextParser.prototype.addDependency = function(dependency) {
|
||||
|
||||
Reference in New Issue
Block a user