MCPcopy
hub / github.com/amark/gun / cdata

Function cdata

test/mocha.js:3910–3912  ·  view source on GitHub ↗

* Return cdata escaped CDATA `str`.

(str)

Source from the content-addressed store, hash-verified

3908 */
3909
3910function cdata(str) {
3911 return '<![CDATA[' + escape(str) + ']]>';
3912}
3913
3914}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
3915},{"../utils":39,"./base":17,"fs":41}],35:[function(require,module,exports){

Callers 1

mocha.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected