Sha256: dd35ddd1fac84990f05df9981bd8598ba0eee0ae3be31aa1c104bd2785322ecb

Contents?: true

Size: 658 Bytes

Versions: 3

Compression:

Stored size: 658 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

3 entries across 3 versions & 2 rubygems

Version Path
ckeditor-rails-0.0.4 vendor/assets/ckeditor/ckeditor/_source/core/dom/comment.js
ckeditor-rails-0.0.3 vendor/assets/ckeditor/ckeditor/_source/core/dom/comment.js
typus-3.1.0.rc7 test/fixtures/rails_app/public/vendor/ckeditor/_source/core/dom/comment.js