From 6dbea577217ace8cf13b8760010f89190ca85341 Mon Sep 17 00:00:00 2001 From: Thomas Hervey Date: Fri, 3 Aug 2018 16:07:43 -0500 Subject: [PATCH] added back supported --- modules/svg/keepRight.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/svg/keepRight.js b/modules/svg/keepRight.js index 561bf6970..cf2b46339 100644 --- a/modules/svg/keepRight.js +++ b/modules/svg/keepRight.js @@ -181,6 +181,11 @@ export function svgKeepRight(projection, context, dispatch) { }; + drawKeepRight.supported = function() { + return !!getService(); + }; + + drawKeepRight.visibleErrors = function(_) { if (!arguments.length) return svgKeepRight.visibleErrors; svgKeepRight.visibleErrors.push(_); @@ -194,6 +199,7 @@ export function svgKeepRight(projection, context, dispatch) { }; + init(); return drawKeepRight; }