Skip to content

Commit

Permalink
Replaces Array#map with Array#forEach
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex committed Apr 13, 2016
1 parent 5785a41 commit 9d94d00
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 9d94d00

Please sign in to comment.