From ff1552e90136f71b7a35169b2a3b3f8a5cd6b2e1 Mon Sep 17 00:00:00 2001 From: Robert Monfera Date: Fri, 26 May 2017 09:09:44 +0200 Subject: [PATCH] outside condition --- test/image/strict-d3.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/image/strict-d3.js b/test/image/strict-d3.js index d33d754f14a..d54336e3dfb 100644 --- a/test/image/strict-d3.js +++ b/test/image/strict-d3.js @@ -37,13 +37,12 @@ throw new Error('d3 selection.style called with value: ' + val); } }); - - // Microsoft browsers incl. "Edge" don't support CSS transform on SVG elements - if(key === 'transform' && sel.node() instanceof SVGElement) { - throw new Error('d3 selection.style called on an SVG element with key: ' + key); - } } + // Microsoft browsers incl. "Edge" don't support CSS transform on SVG elements + if(key === 'transform' && sel.node() instanceof SVGElement) { + throw new Error('d3 selection.style called on an SVG element with key: ' + key); + } } // below ripped from fast-isnumeric so I don't need to build this file