give array bulider loop better names

Change-Id: I67f5b89b3e58f052c197732a1298c60ec6b8fd89
This commit is contained in:
Rob Moen 2012-05-14 16:48:10 -07:00
parent ca48a4a8a1
commit 68414e4d28

View file

@ -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;
};