arbor icon indicating copy to clipboard operation
arbor copied to clipboard

Does not work in IE8+

Open vorien opened this issue 14 years ago • 7 comments

When I try to load arborjs.org in IE8 or IE 9, I get the following errors:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.0; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; AskTbTRL2/5.9.1.14019) Timestamp: Fri, 10 Jun 2011 16:04:50 UTC

Message: Object doesn't support this property or method Line: 46 Char: 3 Code: 0 URI: http://arborjs.org/js/lib/arbor.js

Message: Object doesn't support this property or method Line: 66 Char: 3 Code: 0 URI: http://arborjs.org/js/lib/arbor-tween.js

Message: Object doesn't support this property or method Line: 36 Char: 3 Code: 0 URI: http://arborjs.org/js/lib/arbor-graphics.js

Message: Object doesn't support this property or method Line: 382 Char: 5 Code: 0 URI: http://arborjs.org/site.js

V

vorien avatar Jun 10 '11 16:06 vorien

IE8 does not support canvas, but the ExplorerCanvas (http://code.google.com/p/explorercanvas/) solves this problem. But anyway I keep getting errors and not working in IE: Node.prototype.defineGetter("p", function () {

ricardoesteves avatar Jun 16 '11 13:06 ricardoesteves

I tried xCanvas as well, but it still gave me errors.

vorien avatar Jun 16 '11 13:06 vorien

This isn't a bug with ArborJS, but an improper implementation of HTML5/ECMA 3.1 by Microsoft for IE 8 and 9.

kevinmershon avatar Jun 17 '11 02:06 kevinmershon

Use the IE8/9 getter/setter shim at http://icodesnip.com/snippet/javascript/cross-browser-getterssetters-including-ie if you must use IE.

kevinmershon avatar Jun 17 '11 02:06 kevinmershon

I do not use IE, but many customers still use this crap ... I tried using this code, but still giving errors on arbor ... Do you have a working example of the arbor in IE?

ricardoesteves avatar Jun 17 '11 12:06 ricardoesteves

No, I don't. I've implemented ArborJS in an industry where IE pretty much has a 100% market penetration, so I feel your pain. On the upside, if more awesome HTML5-only libraries like Arbor start showing up everywhere, people are going to be forced to upgrade or get left behind. Quit shimming and using work-arounds to make everything work in IE.

On Jun 17, 2011, at 5:20 AM, "ricardoesteves" [email protected] wrote:

I do not use IE, but many customers still use this crap ... I tried using this code, but still giving errors on arbor ... Do you have a working example of the arbor in IE?

Reply to this email directly or view it on GitHub: https://github.com/samizdatco/arbor/issues/9#issuecomment-1387780

kevinmershon avatar Jun 17 '11 15:06 kevinmershon

Thanks for responding. I can't get ArborJS to work even with the shim.

I wish that was how it works. Unfortunately, all it does is make more money for companies like Adobe. Developers -have to- implement for IE, that's just the way the world works. We'd much rather support open source solutions, but when none are available, we're forced to use pay-for solutions like Flash. Sad, but true...

vorien avatar Jun 17 '11 15:06 vorien