4c580da89782a7cc115f944742bf879ec7287227
2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3 For licensing, see LICENSE.html or http://ckeditor.com/license
7 * @fileOverview Defines the {@link CKEDITOR.dom.comment} class, which represents
11 CKEDITOR
.dom
.comment
= CKEDITOR
.tools
.createClass(
13 base
: CKEDITOR
.dom
.node
,
15 $ : function( text
, ownerDocument
)
17 if ( typeof text
== 'string' )
18 text
= ( ownerDocument
? ownerDocument
.$ : document
).createComment( text
);
25 type
: CKEDITOR
.NODE_COMMENT
,
27 getOuterHtml : function()
29 return '<!--' + this.$.nodeValue
+ '-->';