r98936 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98935‎ | r98936 | r98937 >
Date:22:03, 4 October 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Corrected documentation
Modified paths:
  • /trunk/parsers/wikidom/lib/hype/models/es.DocumentModel.js (modified) (history)

Diff [purge]

Index: trunk/parsers/wikidom/lib/hype/models/es.DocumentModel.js
@@ -259,7 +259,7 @@
260260 * @param {es.DocumentModelNode} node Node to get offset of
261261 * @param {Boolean} [deep=false] Whether to scan recursively
262262 * @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
264264 */
265265 es.DocumentModel.prototype.offsetOf = function( node, deep, from ) {
266266 if ( from === undefined ) {

Status & tagging log