--- /dev/null
+/*\r
+Copyright (c) 2003-2011, 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
+CKEDITOR.dom.comment = CKEDITOR.tools.createClass(\r
+{\r
+ base : CKEDITOR.dom.node,\r
+\r
+ $ : function( text, ownerDocument )\r
+ {\r
+ if ( typeof text == 'string' )\r
+ text = ( ownerDocument ? ownerDocument.$ : document ).createComment( text );\r
+\r
+ this.base( text );\r
+ },\r
+\r
+ proto :\r
+ {\r
+ type : CKEDITOR.NODE_COMMENT,\r
+\r
+ getOuterHtml : function()\r
+ {\r
+ return '<!--' + this.$.nodeValue + '-->';\r
+ }\r
+ }\r
+});\r