From a7714585bb04ee3d89fa38d9fb002366cc58eb22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Wed, 13 Apr 2016 10:43:13 -0700 Subject: [PATCH] Merge pull request #6504 from alexlur/patch-1 Replaces Array#map with Array#forEach (cherry picked from commit 932334d3d46627adb08013e8e1d1097c469597cc) --- src/renderers/dom/shared/SVGDOMPropertyConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/dom/shared/SVGDOMPropertyConfig.js b/src/renderers/dom/shared/SVGDOMPropertyConfig.js index 0711446e9a..15f524e80b 100644 --- a/src/renderers/dom/shared/SVGDOMPropertyConfig.js +++ b/src/renderers/dom/shared/SVGDOMPropertyConfig.js @@ -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];