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

Function XMLCData

static/word2md/mammoth.browser.js:30221–30227  ·  view source on GitHub ↗
(parent, text)

Source from the content-addressed store, hash-verified

30219 extend(XMLCData, superClass);
30220
30221 function XMLCData(parent, text) {
30222 XMLCData.__super__.constructor.call(this, parent);
30223 if (text == null) {
30224 throw new Error("Missing CDATA text. " + this.debugInfo());
30225 }
30226 this.text = this.stringify.cdata(text);
30227 }
30228
30229 XMLCData.prototype.clone = function() {
30230 return Object.create(this);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected