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

Function genProps

static/vuejs/vue.esm.js:8829–8836  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

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

Callers 1

genDataFunction · 0.70

Calls 1

transformSpecialNewlinesFunction · 0.70

Tested by

no test coverage detected