r98574 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98573‎ | r98574 | r98575 >
Date:21:53, 30 September 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Fixed typo (from function rename)
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
@@ -74,16 +74,6 @@
7575 /* Methods */
7676
7777 /**
78 - * Gets the length of all document content.
79 - *
80 - * @method
81 - * @returns {Integer} Length of document content
82 - */
83 -es.DocumentModel.getContentLength = function() {
84 - return this.data.length;
85 -};
86 -
87 -/**
8878 * Gets copy of the document data.
8979 *
9080 * @method
@@ -122,7 +112,7 @@
123113 return offset;
124114 }
125115 if ( deep && node.length ) {
126 - var length = this.findElement( node, deep, node );
 116+ var length = this.offsetOf( node, deep, node );
127117 if ( length !== null ) {
128118 return offset + length;
129119 }

Status & tagging log