MCPcopy Create free account
hub / github.com/TruthHun/BookStack / genNode

Function genNode

static/vuejs/vue.js:8787–8793  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

8785}
8786
8787function genNode (node) {
8788 if (node.type === 1) {
8789 return genElement(node)
8790 } else {
8791 return genText(node)
8792 }
8793}
8794
8795function genText (text) {
8796 return ("_v(" + (text.type === 2

Callers

nothing calls this directly

Calls 2

genElementFunction · 0.70
genTextFunction · 0.70

Tested by

no test coverage detected