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

Function genProps

static/vuejs/vue.common.js:8831–8838  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

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

Callers 1

genDataFunction · 0.70

Calls 1

transformSpecialNewlinesFunction · 0.70

Tested by

no test coverage detected