MCPcopy Index your code
hub / github.com/prototypejs/prototype / cdata

Function cdata

test/unit/static/js/mocha.js:3898–3900  ·  view source on GitHub ↗

* Return cdata escaped CDATA `str`.

(str)

Source from the content-addressed store, hash-verified

3896 */
3897
3898function cdata(str) {
3899 return '<![CDATA[' + escape(str) + ']]>';
3900}
3901
3902}); // module: reporters/xunit.js
3903

Callers 1

testFunction · 0.85

Calls 1

escapeFunction · 0.85

Tested by 1

testFunction · 0.68