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

Function genProps

static/vuejs/vue.js:8825–8832  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

8823}
8824
8825function genProps (props) {
8826 var res = '';
8827 for (var i = 0; i < props.length; i++) {
8828 var prop = props[i];
8829 res += "\"" + (prop.name) + "\":" + (transformSpecialNewlines(prop.value)) + ",";
8830 }
8831 return res.slice(0, -1)
8832}
8833
8834// #3895, #4268
8835function transformSpecialNewlines (text) {

Callers 1

genDataFunction · 0.70

Calls 1

transformSpecialNewlinesFunction · 0.70

Tested by

no test coverage detected