mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
give array bulider loop better names
Change-Id: I67f5b89b3e58f052c197732a1298c60ec6b8fd89
This commit is contained in:
parent
ca48a4a8a1
commit
68414e4d28
|
@ -240,8 +240,8 @@ ve.dm.DocumentFragment.prototype.getAnnotationsFromRange = function( range ) {
|
|||
map = currentChar;
|
||||
}
|
||||
// build array of annotations
|
||||
for ( var hash in map ) {
|
||||
annotations.push( map[hash] );
|
||||
for ( var key in map ) {
|
||||
annotations.push( map[key] );
|
||||
}
|
||||
return annotations;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue