Skip to content

Commit

Permalink
Merge pull request #6504 from alexlur/patch-1
Browse files Browse the repository at this point in the history
Replaces Array#map with Array#forEach
  • Loading branch information
zpao committed Apr 13, 2016
2 parents 5785a41 + 9d94d00 commit 932334d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/dom/shared/SVGDOMPropertyConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ var SVGDOMPropertyConfig = {
DOMAttributeNames: {},
};

Object.keys(ATTRS).map((key) => {
Object.keys(ATTRS).forEach((key) => {
SVGDOMPropertyConfig.Properties[key] = 0;
if (ATTRS[key]) {
SVGDOMPropertyConfig.DOMAttributeNames[key] = ATTRS[key];
Expand Down

0 comments on commit 932334d

Please sign in to comment.