From 68414e4d28fb5914d6ec8488c759f75bf6f08f47 Mon Sep 17 00:00:00 2001 From: Rob Moen Date: Mon, 14 May 2012 16:48:10 -0700 Subject: [PATCH] give array bulider loop better names Change-Id: I67f5b89b3e58f052c197732a1298c60ec6b8fd89 --- modules/ve2/dm/ve.dm.DocumentFragment.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ve2/dm/ve.dm.DocumentFragment.js b/modules/ve2/dm/ve.dm.DocumentFragment.js index 3ea0b5439e..0db228658e 100644 --- a/modules/ve2/dm/ve.dm.DocumentFragment.js +++ b/modules/ve2/dm/ve.dm.DocumentFragment.js @@ -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; };