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

Function XMLComment

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

Source from the content-addressed store, hash-verified

30253 extend(XMLComment, superClass);
30254
30255 function XMLComment(parent, text) {
30256 XMLComment.__super__.constructor.call(this, parent);
30257 if (text == null) {
30258 throw new Error("Missing comment text. " + this.debugInfo());
30259 }
30260 this.text = this.stringify.comment(text);
30261 }
30262
30263 XMLComment.prototype.clone = function() {
30264 return Object.create(this);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected