Update getClass() to support SVG edge case
Merge pull request #7 from hasArthur/master

Update getClass to support SVG edge case