mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Fix some comment typos
Change-Id: I58e21bb4cb75580369b89a10cf324c100ed15724
This commit is contained in:
parent
44af6bdb18
commit
92d715df92
|
@ -249,7 +249,7 @@ ve.dm.Transaction.newFromAnnotation = function( doc, range, method, annotation )
|
|||
* @param {ve.Range} range Range to convert
|
||||
* @param {String} type Symbolic name of element type to convert to
|
||||
* @param {Object} attr Attributes to initialize element with
|
||||
* @returns {ve.dm.Transaction} Transcation that annotates content
|
||||
* @returns {ve.dm.Transaction} Transaction that annotates content
|
||||
*/
|
||||
ve.dm.Transaction.newFromContentBranchConversion = function( doc, range, type, attr ) {
|
||||
var tx = new ve.dm.Transaction(),
|
||||
|
@ -283,7 +283,7 @@ ve.dm.Transaction.newFromContentBranchConversion = function( doc, range, type, a
|
|||
tx.pushRetain( branch.getLength() );
|
||||
// Replace the closing
|
||||
tx.pushReplace( [data[branchOuterRange.end - 1]], [ve.copyObject( closing )] );
|
||||
// Remember this branch and it's range for next time
|
||||
// Remember this branch and its range for next time
|
||||
previousBranch = branch;
|
||||
previousBranchOuterRange = branchOuterRange;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue