Sha256: fa713fb1db45f0afa586cf76957172ae557acba52e7e9a70826b14bfb3cbca67

Contents?: true

Size: 685 Bytes

Versions: 7

Compression:

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

7 entries across 7 versions & 1 rubygems

Version Path
esp-ckeditor-0.1.7 vendor/assets/javascripts/_source/core/dom/comment.js
esp-ckeditor-0.1.6 vendor/assets/javascripts/esp-ckeditor/_source/core/dom/comment.js
esp-ckeditor-0.1.4 vendor/assets/javascripts/esp-ckeditor/_source/core/dom/comment.js
esp-ckeditor-0.1.3 app/assets/javascripts/esp-ckeditor/_source/core/dom/comment.js
esp-ckeditor-0.1.2 app/assets/javascripts/esp-ckeditor/_source/core/dom/comment.js
esp-ckeditor-0.1.1 app/assets/javascripts/esp-ckeditor/_source/core/dom/comment.js
esp-ckeditor-0.1.0 app/assets/javascripts/esp-ckeditor/_source/core/dom/comment.js