Skip to content

Commit

Permalink
Minor optimisation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondavies committed Aug 16, 2012
1 parent 38a6c30 commit abd6f89
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions d3.v2.js
Expand Up @@ -303,8 +303,8 @@
valuesByKey.set(keyValue, [ object ]);
}
}
valuesByKey.forEach(function(keyValue) {
o[keyValue] = map(valuesByKey.get(keyValue), depth);
valuesByKey.forEach(function(keyValue, values) {
o[keyValue] = map(values, depth);
});
return o;
}
Expand Down

0 comments on commit abd6f89

Please sign in to comment.