Index: trunk/extensions/VisualEditor/modules/es/bases/es.DocumentBranchNode.js |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | * @class |
6 | 6 | * @abstract |
7 | 7 | * @constructor |
8 | | - * @param {es.DocumentBranchNode[]} nodes List of document nodes to initially add |
| 8 | + * @param {es.DocumentNode[]} nodes List of document nodes to initially add |
9 | 9 | */ |
10 | 10 | es.DocumentBranchNode = function( nodes ) { |
11 | 11 | this.children = es.isArray( nodes ) ? nodes : []; |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | * |
19 | 19 | * @abstract |
20 | 20 | * @method |
21 | | - * @returns {es.DocumentBranchNode[]} List of document nodes |
| 21 | + * @returns {es.DocumentNode[]} List of document nodes |
22 | 22 | */ |
23 | 23 | es.DocumentBranchNode.prototype.getChildren = function() { |
24 | 24 | return this.children; |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | * TODO: Rewrite this method to not use recursion, because the function call overhead is expensive |
64 | 64 | * |
65 | 65 | * @method |
66 | | - * @param {es.DocumentModelNode} node Node to get offset of |
| 66 | + * @param {es.DocumentNode} node Node to get offset of |
67 | 67 | * @param {Boolean} [shallow] Do not iterate into child nodes of child nodes |
68 | 68 | * @returns {Integer} Offset of node or -1 of node was not found |
69 | 69 | */ |
— | — | @@ -98,7 +98,7 @@ |
99 | 99 | * @method |
100 | 100 | * @param {Integer} offset Offset get node for |
101 | 101 | * @param {Boolean} [shallow] Do not iterate into child nodes of child nodes |
102 | | - * @returns {es.DocumentModelNode|null} Node at offset, or null if non was found |
| 102 | + * @returns {es.DocumentNode|null} Node at offset, or null if non was found |
103 | 103 | */ |
104 | 104 | es.DocumentBranchNode.prototype.getNodeFromOffset = function( offset, shallow ) { |
105 | 105 | if ( this.children.length ) { |