http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94978
Revision: 94978
Author: tparscal
Date: 2011-08-19 01:13:18 +0000 (Fri, 19 Aug 2011)
Log Message:
-----------
* Fixed comment typo
* Removed extra inc - left over from while
Modified Paths:
--------------
trunk/parsers/wikidom/lib/es/es.Content.js
Modified: trunk/parsers/wikidom/lib/es/es.Content.js
===================================================================
--- trunk/parsers/wikidom/lib/es/es.Content.js 2011-08-19 01:00:53 UTC (rev
94977)
+++ trunk/parsers/wikidom/lib/es/es.Content.js 2011-08-19 01:13:18 UTC (rev
94978)
@@ -489,13 +489,12 @@
* ensure that modifications to annotated characters in the content
data do not affect the data
* of other content objects, annotated characters must be sliced
individually. This is too
* expensive to do on all content on every copy, so we only do it when
we are going to modify
- * the annotation information, and on a few annotated characters as
possible.
+ * the annotation information, and on as few annotated characters as
possible.
*/
for ( var i = range.start; i < range.end; i++ ) {
if ( typeof this.data[i] !== 'string' ) {
this.data[i] = this.data[i].slice( 0 );
}
- i++;
}
/*
* Support toggle method by automatically choosing add or remove based
on the coverage of the
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs