Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working in IE10 #46

Open
superrache opened this issue May 17, 2013 · 4 comments
Open

not working in IE10 #46

superrache opened this issue May 17, 2013 · 4 comments

Comments

@superrache
Copy link

Hi, I can't get arbor.js working in IE10.
When trying arborjs.org, I get that in the console :

using web workers
SCRIPT438: L’objet ne gère pas la propriété ou la méthode « defineGetter »
arbor.js, Ligne 35 Caractère 8042

@mcrider
Copy link

mcrider commented Aug 27, 2013

I resolved this error by adding a shim for the defineGetter method: https://gist.github.com/23limes/2779043/raw/f7a18ee984f273b13b7a66fe76509feae0cdc32e/Box2D_IE9_10_shim.js

@superrache
Copy link
Author

OK, the tree is now created with this. Nevertheless, there are also this error:
SCRIPT438: L’objet ne gère pas la propriété ou la méthode « subtract »
and it's impossible to interact with the tree by mouse moves or clicking

@cailliaud
Copy link

cailliaud commented Jul 20, 2017

Hello , have you find a solution to resolve the problem of the method subtract ?
I am currently using the arbor.js lib for a project that has to work on IE 11 (works well currently) and on IE 10/8 (mode document = 10).
Thanks to your posts, i resolved the problem of defineGetter and defineSetter but not the problem of subtract...

EDIT : i found a fork that corrects this problem : https://github.com/vollstock/arbor

@x8142831
Copy link

i try https://github.com/vollstock/arbor , find it works well in >IE 8, when you want to support <=IE8, the defineProperty is not support Node object, then i try to use es-sham/es-shim it still work not well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants