mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-24 21:54:08 +00:00
Fixed problem with renderer tree nodes that don't have children
This commit is contained in:
@@ -36,9 +36,11 @@ Create an array of renderers for an array of parse tree nodes
|
||||
*/
|
||||
WikiRenderTree.prototype.createRenderers = function(renderContext,parseTreeNodes) {
|
||||
var rendererNodes = [];
|
||||
if(parseTreeNodes) {
|
||||
for(var t=0; t<parseTreeNodes.length; t++) {
|
||||
rendererNodes.push(this.createRenderer(renderContext,parseTreeNodes[t]));
|
||||
}
|
||||
}
|
||||
return rendererNodes;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user