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

Function genNode

static/vuejs/vue.esm.js:8791–8797  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

8789}
8790
8791function genNode (node) {
8792 if (node.type === 1) {
8793 return genElement(node)
8794 } else {
8795 return genText(node)
8796 }
8797}
8798
8799function genText (text) {
8800 return ("_v(" + (text.type === 2

Callers

nothing calls this directly

Calls 2

genElementFunction · 0.70
genTextFunction · 0.70

Tested by

no test coverage detected