Closed orangemug closed 9 years ago
Any interest in going forward with this pull request?
I think this would be a Good Thing, even if I don't have an immediate use case for it.
It feels like there's a lot of SVG-specific code in .render
which might be worth abstracting out to elsewhere...?
Agreed, I'll pull out the SVG bits into a util lib
Oh also this feature is currently used in production.
I have no time to work on this and don't use the library anymore, closing pull request.
I know this still requires some tidying (tests). But I just thought I'd put it up here to get some feedback. Basically adding
{isSVG: true}
to a module will make it behave correctly as an SVG element.@rowanbeentje, @matthew-andrews, @georgecrawford if I clean up this pull request are you happy to merge?