wout/svg.import.js — pull request #18 by ollicle (2013-07-17 06:19:33+00:00)
Title: Allow and ignore text nodes in gradient element

getAttribute was throwing an error on text nodes contained in a
lineargradient element. This ensures they are elements first.