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

Function genText

static/vuejs/vue.common.js:8801–8805  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

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

Callers 1

genNodeFunction · 0.70

Calls 1

transformSpecialNewlinesFunction · 0.70

Tested by

no test coverage detected