r102606 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r102605
|
r102606
|
r102607
>
Date:
23:39, 9 November 2011
Author:
tparscal
Status:
deferred
Tags:
Comment:
Improved optimization, was previously limited to merging sets of 2
Modified paths:
/trunk/extensions/VisualEditor/modules/es/es.Transaction.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/VisualEditor/modules/es/es.Transaction.js
—
—
@@ -35,11 +35,13 @@
36
36
case 'retain':
37
37
a.length += b.length;
38
38
this.operations.splice( i + 1, 1 );
39
+ i--;
39
40
break;
40
41
case 'insert':
41
42
case 'remove':
42
43
a.content = a.content.concat( b.content );
43
44
this.operations.splice( i + 1, 1 );
45
+ i--;
44
46
break;
45
47
}
46
48
}
Status & tagging log
13:58, 25 November 2011
Hashar
(
talk
|
contribs
)
changed the
status
of r102606
[
removed:
new
added:
deferred]