
Re: PIE.js: currentStyle and window.attachEvent errors
@twebb72 I have to say your tone is pretty insulting.
There's actually a reason I've chosen not to add detection like that into the library. In the interest of site performance, nobody wants PIE.js to be downloaded by browsers that don't need it -- you only want IE to download it. There is *no way* for the library itself to do this, so you have to use a conditional comment around the script tag anyway. If there's a conditional comment, then there's no reason to waste file size on detection code that isn't needed.
I agree that the need for this single conditional comment is missing in the documentation for the PIE JS version on
http://css3pie.com/documentation/pie-js/, and I will add it there asap. This is of course not an issue with the recommended PIE.htc file in the first place. If having to add those two extra lines in your code is not turn-key enough for you then I don't know what to tell you.