+++ /dev/null
-/*\r
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
-For licensing, see LICENSE.html or http://ckeditor.com/license\r
-*/\r
-\r
-/**\r
- * @fileOverview Defines the {@link CKEDITOR.dom.comment} class, which represents\r
- * a DOM comment node.\r
- */\r
-\r
-/**\r
- * Represents a DOM comment node.\r
- * @constructor\r
- * @augments CKEDITOR.dom.node\r
- * @param {Object|String} comment A native DOM comment node or a string containing\r
- * the text to use to create a new comment node.\r
- * @param {CKEDITOR.dom.document} [ownerDocument] The document that will contain\r
- * the node in case of new node creation. Defaults to the current document.\r
- * @example\r
- * var nativeNode = document.createComment( 'Example' );\r
- * var comment = CKEDITOR.dom.comment( nativeNode );\r
- * @example\r
- * var comment = CKEDITOR.dom.comment( 'Example' );\r
- */\r
-CKEDITOR.dom.comment = function( comment, ownerDocument )\r
-{\r
- if ( typeof comment == 'string' )\r
- comment = ( ownerDocument ? ownerDocument.$ : document ).createComment( comment );\r
-\r
- CKEDITOR.dom.domObject.call( this, comment );\r
-};\r
-\r
-CKEDITOR.dom.comment.prototype = new CKEDITOR.dom.node();\r
-\r
-CKEDITOR.tools.extend( CKEDITOR.dom.comment.prototype,\r
- /** @lends CKEDITOR.dom.comment.prototype */\r
- {\r
- type : CKEDITOR.NODE_COMMENT,\r
-\r
- getOuterHtml : function()\r
- {\r
- return '<!--' + this.$.nodeValue + '-->';\r
- }\r
- });\r