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

Function XMLText

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

Source from the content-addressed store, hash-verified

32503 extend(XMLText, superClass);
32504
32505 function XMLText(parent, text) {
32506 XMLText.__super__.constructor.call(this, parent);
32507 if (text == null) {
32508 throw new Error("Missing element text. " + this.debugInfo());
32509 }
32510 this.value = this.stringify.eleText(text);
32511 }
32512
32513 XMLText.prototype.clone = function() {
32514 return Object.create(this);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected