public/ckeditor/_source/core/htmlparser/comment.js
function( writer, filter )
	{
		var comment = this.value;

		if ( filter )
		{
			if ( !( comment = filter.onComment( comment, this ) ) )
				return;

			if ( typeof comment != 'string' )
			{
				comment.parent = this.parent;
				comment.writeHtml( writer, filter );
				return;
			}
		}

		writer.comment( comment );
	}
function( writer, filter )
	{
		var comment = this.value;

		if ( filter )
		{
			if ( !( comment = filter.onComment( comment, this ) ) )
				return;

			if ( typeof comment != 'string' )
			{
				comment.parent = this.parent;
				comment.writeHtml( writer, filter );
				return;
			}
		}

		writer.comment( comment );
	}
function ( writer , filter ) { var comment = this . value ; if ( filter ) { if ( ! ( comment = filter . onComment ( comment , this ) ) ) return ; if ( typeof comment != 'string' ) { comment . parent = this . parent ; comment . writeHtml ( writer , filter ) ; return ; } } writer . comment ( comment ) ; }
Writes the HTML representation of this comment to a CKEDITOR.htmlWriter.
@param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
@example
Writes the HTML representation of this comment to a CKEDITOR . htmlWriter .