Snap.js
Snap.js copied to clipboard
IE8: window.getComputedStyle is undefined
In IE8 on Win XP, I get an error on the page.

Traced to this line:
win.getComputedStyle(settings.element)[cache.vendor+'Transform'].match(/\((.*)\)/)
Apparently the utils.canTransform feature detection passes, but the win.getComputedStyle function is unavailable.
I add the same problem with IE9 on Windows Seven, and your fix resolved it. Thanks!
win7+IE8, same problem, and this fixed it.