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

Function genText

static/vuejs/vue.esm.js:8799–8803  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

8797}
8798
8799function genText (text) {
8800 return ("_v(" + (text.type === 2
8801 ? text.expression // no need for () because already wrapped in _s()
8802 : transformSpecialNewlines(JSON.stringify(text.text))) + ")")
8803}
8804
8805function genSlot (el) {
8806 var slotName = el.slotName || '"default"';

Callers 1

genNodeFunction · 0.70

Calls 1

transformSpecialNewlinesFunction · 0.70

Tested by

no test coverage detected