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
ckeditor-rails-0.0.2 vendor/assets/ckeditor/ckeditor/_source/core/dom/comment.js
ckeditor-rails-0.0.1 vendor/assets/ckeditor/_source/core/dom/comment.js
radiant-ck_editor_filter-extension-0.2.4 public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/comment.js
inline_forms-0.9.19 public/javascripts/ckeditor/_source/core/dom/comment.js
radiant-ck_editor_filter-extension-0.2.3 public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/comment.js
radiant-ck_editor_filter-extension-0.2.2 public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/comment.js
inline_forms-0.9.18 public/javascripts/ckeditor/_source/core/dom/comment.js
radiant-ck_editor_filter-extension-0.2.1 public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/comment.js