Closed magnars closed 7 years ago
Thanks @magnars!
Hey @wavejumper! Did you mean to merge this in? :)
Turns out this PR also needs SVGAnimatedString
to be added to the externs, since Google Closure doesn't know about it. How would you go about adding externs to a library like this? I've only ever done it when I have access to the build definition in my projects.
The href attribute of SVG anchor elements are not strings, but SVGAnimatedString with a .baseVal string attribute.
Without this fix, pushy creates URLs like these:
With the fix, pushy handles anchors in SVGs like a champ.