Index: trunk/parsers/wikidom/lib/hype/models/es.DocumentModel.js |
— | — | @@ -259,7 +259,7 @@ |
260 | 260 | * @param {es.DocumentModelNode} node Node to get offset of |
261 | 261 | * @param {Boolean} [deep=false] Whether to scan recursively |
262 | 262 | * @param {es.DocumentModelNode} [from=this] Node to look within |
263 | | - * @returns {Integer|false} Offset of node or null of node was not found |
| 263 | + * @returns {Integer} Offset of node or -1 of node was not found |
264 | 264 | */ |
265 | 265 | es.DocumentModel.prototype.offsetOf = function( node, deep, from ) { |
266 | 266 | if ( from === undefined ) { |