samizdatco / arbor

a graph visualization library using web workers and jQuery
http://arborjs.org
2.66k stars 633 forks source link

not working in IE10 #46

Open superrache opened 11 years ago

superrache commented 11 years ago

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 commented 11 years ago

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 commented 10 years ago

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 commented 7 years ago

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 commented 6 years ago

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