Catrope has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/95066


Change subject: Rename remapInteralListIndexes() to correct typo
......................................................................

Rename remapInteralListIndexes() to correct typo

Change-Id: Iebd2cebfd1a323b40d35ffbe1b908b0b7cb6c826
---
M modules/ve/dm/lineardata/ve.dm.ElementLinearData.js
M modules/ve/dm/ve.dm.Transaction.js
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/66/95066/1

diff --git a/modules/ve/dm/lineardata/ve.dm.ElementLinearData.js 
b/modules/ve/dm/lineardata/ve.dm.ElementLinearData.js
index 895a00c..0217717 100644
--- a/modules/ve/dm/lineardata/ve.dm.ElementLinearData.js
+++ b/modules/ve/dm/lineardata/ve.dm.ElementLinearData.js
@@ -727,7 +727,7 @@
  * @method
  * @param {Object} mapping Mapping from internal list indexes to internal list 
indexes
  */
-ve.dm.ElementLinearData.prototype.remapInteralListIndexes = function ( mapping 
) {
+ve.dm.ElementLinearData.prototype.remapInternalListIndexes = function ( 
mapping ) {
        var i, ilen, nodeClass;
        for ( i = 0, ilen = this.data.length; i < ilen; i++ ) {
                if ( this.isOpenElementData( i ) ) {
diff --git a/modules/ve/dm/ve.dm.Transaction.js 
b/modules/ve/dm/ve.dm.Transaction.js
index 3571dca..c010951 100644
--- a/modules/ve/dm/ve.dm.Transaction.js
+++ b/modules/ve/dm/ve.dm.Transaction.js
@@ -204,7 +204,7 @@
 
        merge = doc.internalList.merge( newDoc.internalList, 
newDoc.origInternalListLength || 0 );
        // Remap the indexes in the data
-       data.remapInteralListIndexes( merge.mapping );
+       data.remapInternalListIndexes( merge.mapping );
        // Get data for the new internal list
        if ( newDoc.origDoc === doc ) {
                // newDoc is a document slice based on doc, so all the internal 
list items present in doc

-- 
To view, visit https://gerrit.wikimedia.org/r/95066
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iebd2cebfd1a323b40d35ffbe1b908b0b7cb6c826
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to