Closed Kienz closed 9 years ago
Howdy Kienz,
I'll make a mention of that on the README. I'm not interested in including a polyfill in the code (as other modules may also require a feature and then you have multiple polyfills filling the same gaps in the browser).
I recommend to polyfill the browser support for the missing feature instead. In my own projects I use this polyfill: https://github.com/jonathantneal/Polyfills-for-IE8/blob/master/getComputedStyle.js
Which is part of the polyfill.io service (worth checking out)
window.getComputedStyle
andstyle.getPropertyValue
are not supported in IE <= 8. You can just use something like that - code is from fabric.js