Files
release-action/node_modules/min-document/dom-comment.js
Nick Cipollo 2bea8f5693
Some checks failed
PR Checks / check_pr (push) Has been cancelled
Prepare release 1.7.0
2020-05-25 17:22:36 -04:00

20 lines
426 B
JavaScript

module.exports = Comment
function Comment(data, owner) {
if (!(this instanceof Comment)) {
return new Comment(data, owner)
}
this.data = data
this.nodeValue = data
this.length = data.length
this.ownerDocument = owner || null
}
Comment.prototype.nodeType = 8
Comment.prototype.nodeName = "#comment"
Comment.prototype.toString = function _Comment_toString() {
return "[object Comment]"
}