added back supported

This commit is contained in:
Thomas Hervey
2018-08-03 16:07:43 -05:00
committed by Bryan Housel
parent 3e7146c63f
commit 6dbea57721

View File

@@ -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;
}