mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Fix typo
Function was renamed but error message wasn't updated Change-Id: I61a9effa8dedcbdbc75c5c6842fb05f909561327
This commit is contained in:
parent
afa5b95bc1
commit
4b6e1401a3
|
@ -156,7 +156,7 @@ ve.dm.DocumentNode.buildNodesAndOffsetsFromData = function( data, parent ) {
|
|||
// Return to the parent node
|
||||
currentNode = currentNode.getParent();
|
||||
if ( currentNode === null ) {
|
||||
throw 'createNodesFromData() received unbalanced data: ' +
|
||||
throw 'buildNodesAndOffsetsFromData() received unbalanced data: ' +
|
||||
'found closing without matching opening at index ' +
|
||||
i;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue