Sha256: 72c118cbcf9ff36d4fcffac1550298d02222d16a31d58a7e23ee49422241d2de
Contents?: true
Size: 848 Bytes
Versions: 11
Compression:
Stored size: 848 Bytes
Contents
$debug("Defining Comment"); /* * Comment - DOM Level 2 */ /** * @class DOMComment - This represents the content of a comment, i.e., all the characters between the starting '<!--' and ending '-->' * @extends DOMCharacterData * @author Jon van Noort (jon@webarcana.com.au) * @param ownerDocument : DOMDocument - The Document object associated with this node. */ var DOMComment = function(ownerDocument) { this.DOMCharacterData = DOMCharacterData; this.DOMCharacterData(ownerDocument); this.nodeName = "#comment"; }; DOMComment.prototype = new DOMCharacterData; __extend__(DOMComment.prototype, { get nodeType(){ return DOMNode.COMMENT_NODE; }, get xml(){ return "<!--" + this.nodeValue + "-->"; }, toString : function(){ return "Comment #"+this._id; } }); // $w.Comment = DOMComment;
Version data entries
11 entries across 11 versions & 2 rubygems