-
-
Save martinakraus/6a31d12cb912eb97068b61f36722e380 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createViewNodes(view: ViewDef) { | |
... | |
view.nodes.forEach ((node => { | |
case 1: /* TypeElement */ | |
createElement(view, rederHost, nodeDef); | |
break; | |
case 2: /* TypeText */ | |
createText(view, rederHost, nodeDef); | |
break; | |
case 11: /* TypePipe */ | |
createPipe(view, nodeDef); | |
break; | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment