Permalink
Browse files

Get rid of non-standard 'for each' code

  • Loading branch information...
1 parent e84e08d commit 786a44bcb72a2e4148e542b8232ec9ea33d15de3 @joewalker joewalker committed with janodvarko Mar 23, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 extension/content/firebug/lib/string.js
View
3 extension/content/firebug/lib/string.js
@@ -273,8 +273,9 @@ function escapeGroupsForEntities(str, lists, type)
else
{
var listEntity;
- for each (var list in lists)
+ for (var i = 0; i < lists.length; i++)
{
+ var list = lists[i];
if (list.group != "text")
{
listEntity = entityConversionLists.normal[list.group][result];

0 comments on commit 786a44b

Please sign in to comment.