r105200 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105199‎ | r105200 | r105201 >
Date:18:31, 5 December 2011
Author:tparscal
Status:deferred
Tags:
Comment:
100char line breaks
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/es.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/es.js
@@ -175,12 +175,13 @@
176176 * @static
177177 * @method
178178 * @param {Array} dst Array to splice insertion into. Will be modified
179 - * @param {Number} offset Offset in arr to splice insertion in at. May be negative; see the 'index' parameter for Array.prototype.splice()
 179+ * @param {Number} offset Offset in arr to splice insertion in at. May be negative; see the 'index'
 180+ * parameter for Array.prototype.splice()
180181 * @param {Array} src Array of items to insert
181182 */
182183 es.insertIntoArray = function( dst, offset, src ) {
183 - // We need to splice insertion in in batches, because of parameter list length limits which vary cross-browser.
184 - // 1024 seems to be a safe batch size on all browsers.
 184+ // We need to splice insertion in in batches, because of parameter list length limits which vary
 185+ // cross-browser - 1024 seems to be a safe batch size on all browsers
185186 var index = 0, batchSize = 1024;
186187 while ( index < src.length ) {
187188 // Call arr.splice( offset, 0, i0, i1, i2, ..., i1023 );

Status & tagging log