Last change
on this file since 239 was 239, checked in by luc, 9 years ago |
Admin: correzione visulaizzazione immissione dati spoglio per Chrome e Safari - Aggiornamento dell'editor da FCKeditor a CKeditor , accessibili anche a Chrome e Safari.
|
-
Property svn:executable
set to
*
|
File size:
690 bytes
|
Line | |
---|
1 | /*
|
---|
2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
---|
3 | For licensing, see LICENSE.html or http://ckeditor.com/license
|
---|
4 | */
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * @fileOverview Defines the {@link CKEDITOR.dom.comment} class, which represents
|
---|
8 | * a DOM comment node.
|
---|
9 | */
|
---|
10 |
|
---|
11 | CKEDITOR.dom.comment = CKEDITOR.tools.createClass(
|
---|
12 | {
|
---|
13 | base : CKEDITOR.dom.node,
|
---|
14 |
|
---|
15 | $ : function( text, ownerDocument )
|
---|
16 | {
|
---|
17 | if ( typeof text == 'string' )
|
---|
18 | text = ( ownerDocument ? ownerDocument.$ : document ).createComment( text );
|
---|
19 |
|
---|
20 | this.base( text );
|
---|
21 | },
|
---|
22 |
|
---|
23 | proto :
|
---|
24 | {
|
---|
25 | type : CKEDITOR.NODE_COMMENT,
|
---|
26 |
|
---|
27 | getOuterHtml : function()
|
---|
28 | {
|
---|
29 | return '<!--' + this.$.nodeValue + '-->';
|
---|
30 | }
|
---|
31 | }
|
---|
32 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.