create html part 12
This commit is contained in:
parent
6980de71ac
commit
768c91e0b3
1 changed files with 3 additions and 2 deletions
|
@ -127,13 +127,14 @@ function parse(input: string): Node {
|
|||
function render(node: Node): string {
|
||||
|
||||
//if (typeof node.type == "undefined") {
|
||||
if (node.type == undefined) {
|
||||
//if (node.type == undefined) {
|
||||
if (node == undefined) {
|
||||
console.log("...finished...")
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
console.log("Render node 2" + node.type);
|
||||
console.log("Render node " + node.type);
|
||||
|
||||
var outputHTML: string = "";
|
||||
|
||||
|
|
Loading…
Reference in a new issue