Open GoogleCodeExporter opened 9 years ago
I've updated the browser detection code to recognize IE11 as IE, however that
created several issues where methods like attachEvent etc... are being used. I
added an isIE11 check in these places to use attachEventListener etc... Finally
I'm to the point where it the code erros here:
// This code is for crashing exception in Opera
// that occurs with scripts running in relation
// to an object that is unloaded.
console.log("Call to flash but flash is not present! " +
invoke + ": " + this.debugMsg(message) + ": "+exp);
Original comment by craftbee...@gmail.com
on 10 Dec 2013 at 5:01
It seems leaving the isIE property alone and creating a separate isIE11
property was the key. Most places where there is an isIE check it is good that
IE11 isn't recognized. However in the instances where there is some sort of
setAttributeNS, getAttributeNS or etc... if the IE path isn't followed IE11
will throw an error. So in these situations I've added an isIE11 check. So for
example there will be:
if(isIE || isIE11){code}
or
if (!isIE && !isIE11){code}
I'm attaching an updated version of the uncompressed svg.js file.
Original comment by craftbee...@gmail.com
on 10 Dec 2013 at 9:22
Attachments:
Original issue reported on code.google.com by
craftbee...@gmail.com
on 10 Dec 2013 at 4:52