Sha256: 1a4ed36567dd9a5f25bbd61bd866d1b7921114f23d80c1386d30872f10f57234

Contents?: true

Size: 690 Bytes

Versions: 88

Compression:

Stored size: 690 Bytes

Contents

/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

/**
 * @fileOverview Defines the {@link CKEDITOR.dom.comment} class, which represents
 *		a DOM comment node.
 */

CKEDITOR.dom.comment = CKEDITOR.tools.createClass(
{
	base : CKEDITOR.dom.node,

	$ : function( text, ownerDocument )
	{
		if ( typeof text == 'string' )
			text = ( ownerDocument ? ownerDocument.$ : document ).createComment( text );

		this.base( text );
	},

	proto :
	{
		type : CKEDITOR.NODE_COMMENT,

		getOuterHtml : function()
		{
			return '<!--' + this.$.nodeValue + '-->';
		}
	}
});

Version data entries

88 entries across 85 versions & 9 rubygems

Version Path
classiccms-0.7.5 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.7.4 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.7.3 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.7.2 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.7.1 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.7.0 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.6.9 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.6.8 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.6.7 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.6.6 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.6.5 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.6.4 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.6.3 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.6.2 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.6.1 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.6.0 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.5.17 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.5.16 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.5.15 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js
classiccms-0.5.14 lib/classiccms/public/js/ckeditor/_source/core/dom/comment.js