Skip to content
Browse files

Taking text child nodes into account

  • Loading branch information
nvh committed Jan 17, 2018
1 parent 75be5e7 commit 263476e035e78fb4cc372e57b665b1ef4571249d
Showing with 3 additions and 0 deletions.
  1. +3 −0 framer/
@@ -38,6 +38,9 @@ class exports.SVG

if elements?
for element in elements
unless element instanceof SVGElement
# Children can contain text nodes
name = element.getAttribute("name")
if not name?
if element instanceof SVGGElement

0 comments on commit 263476e

Please sign in to comment.