IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 35 | 35 | CKEDITOR.tools.extend( CKEDITOR.dom.comment.prototype, |
| 36 | 36 | /** @lends CKEDITOR.dom.comment.prototype */ |
| 37 | 37 | { |
| 38 | | type : CKEDITOR.NODE_COMMENT, |
| 39 | | |
| 40 | 38 | getOuterHtml : function() |
| 41 | 39 | { |
| 42 | 40 | return '<!--' + this.$.nodeValue + '-->'; |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 49 | 49 | CKEDITOR.tools.extend( CKEDITOR.dom.text.prototype, |
| 50 | 50 | /** @lends CKEDITOR.dom.text.prototype */ |
| 51 | 51 | { |
| 52 | | /** |
| 53 | | * The node type. This is a constant value set to |
| 54 | | * {@link CKEDITOR.NODE_TEXT}. |
| 55 | | * @type Number |
| 56 | | * @example |
| 57 | | */ |
| 58 | | type : CKEDITOR.NODE_TEXT, |
| 59 | | |
| 60 | 52 | getLength : function() |
| 61 | 53 | { |
| 62 | 54 | return this.$.nodeValue.length; |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 20 | 20 | CKEDITOR.tools.extend( CKEDITOR.dom.documentFragment.prototype, |
| 21 | 21 | CKEDITOR.dom.element.prototype, |
| 22 | 22 | { |
| 23 | | type : CKEDITOR.NODE_DOCUMENT_FRAGMENT, |
| 24 | 23 | insertAfterNode : function( node ) |
| 25 | 24 | { |
| 26 | 25 | node = node.$; |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 29 | 29 | * alert( element.$.nodeType ); // "1" |
| 30 | 30 | */ |
| 31 | 31 | this.$ = nativeDomObject; |
| | 32 | |
| | 33 | // CKEDITOR.NODE_(TYPE) constants should match the DOM node type values. |
| | 34 | this.type = nativeDomObject.nodeType; |
| 32 | 35 | } |
| 33 | 36 | }; |
| 34 | 37 | |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 27 | 27 | : domNode.nodeType == CKEDITOR.NODE_ELEMENT ? 'element' |
| 28 | 28 | : domNode.nodeType == CKEDITOR.NODE_TEXT ? 'text' |
| 29 | 29 | : domNode.nodeType == CKEDITOR.NODE_COMMENT ? 'comment' |
| | 30 | : domNode.nodeType == CKEDITOR.NODE_DOCUMENT_FRAGMENT ? 'documentFragment' |
| 30 | 31 | : 'domObject'; // Call the base constructor otherwise. |
| 31 | 32 | |
| 32 | 33 | return new CKEDITOR.dom[ type ]( domNode ); |
| … |
… |
|
| 65 | 66 | */ |
| 66 | 67 | CKEDITOR.NODE_COMMENT = 8; |
| 67 | 68 | |
| | 69 | /** |
| | 70 | * Document type declaration, indicated by the <!DOCTYPE > |
| | 71 | * @type {Number} |
| | 72 | */ |
| | 73 | CKEDITOR.NODE_DOCTYPE = 10; |
| | 74 | |
| | 75 | /** |
| | 76 | * Document fragment node type. |
| | 77 | * @type {Number} |
| | 78 | */ |
| 68 | 79 | CKEDITOR.NODE_DOCUMENT_FRAGMENT = 11; |
| 69 | 80 | |
| 70 | 81 | CKEDITOR.POSITION_IDENTICAL = 0; |
| … |
… |
|
| 344 | 355 | do |
| 345 | 356 | { |
| 346 | 357 | previous = previous.previousSibling; |
| 347 | | retval = previous && new CKEDITOR.dom.node( previous ); |
| | 358 | |
| | 359 | // Avoid returning the doc type node. |
| | 360 | retval = previous && previous.nodeType != CKEDITOR.NODE_DOCTYPE && new CKEDITOR.dom.node( previous ); |
| 348 | 361 | } |
| 349 | 362 | while ( retval && evaluator && !evaluator( retval ) ) |
| 350 | 363 | return retval; |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 109 | 109 | /** @lends CKEDITOR.dom.element.prototype */ |
| 110 | 110 | { |
| 111 | 111 | /** |
| 112 | | * The node type. This is a constant value set to |
| 113 | | * {@link CKEDITOR.NODE_ELEMENT}. |
| 114 | | * @type Number |
| 115 | | * @example |
| 116 | | */ |
| 117 | | type : CKEDITOR.NODE_ELEMENT, |
| 118 | | |
| 119 | | /** |
| 120 | 112 | * Adds a CSS class to the element. It appends the class to the |
| 121 | 113 | * already existing names. |
| 122 | 114 | * @param {String} className The name of the class to be added. |