LBF custom template (nation notes) fancybox replace.
[openemr.git] / library / custom_template / ckeditor / _source / core / dom / comment.js
blob32743502f43eee3792cf327aaf26b477044cd48c
1 /*
2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3 For licensing, see LICENSE.html or http://ckeditor.com/license
4 */
6 /**
7  * @fileOverview Defines the {@link CKEDITOR.dom.comment} class, which represents
8  *              a DOM comment node.
9  */
11 CKEDITOR.dom.comment = CKEDITOR.tools.createClass(
13         base : CKEDITOR.dom.node,
15         $ : function( text, ownerDocument )
16         {
17                 if ( typeof text == 'string' )
18                         text = ( ownerDocument ? ownerDocument.$ : document ).createComment( text );
20                 this.base( text );
21         },
23         proto :
24         {
25                 type : CKEDITOR.NODE_COMMENT,
27                 getOuterHtml : function()
28                 {
29                         return '<!--' + this.$.nodeValue + '-->';
30                 }
31         }
32 });