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

Function genNode

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

genElementFunction · 0.70
genTextFunction · 0.70

Tested by

no test coverage detected