andreasplesch / x_ite_dom

link x_ite to the DOM
http://andreasplesch.github.io/x_ite_dom/index.xhtml
MIT License
6 stars 0 forks source link

Update of cobweb_dom.js for version 3.3 of Cobweb #25

Closed create3000 closed 7 years ago

create3000 commented 7 years ago

The new version of Cobweb has a major change, I removed the arguments from the X3D callback function. Your can find a detailed description of this change at http://www.create3000.de/cobweb/accessing-the-external-browser/

andreasplesch commented 7 years ago

Thanks ! I would prefer to avoid jQuery (although cobweb needs it anyway). document.querySelectorAll('X3DCanvas') should be equivalent. Do you agree ?

There were changes since 2.8 in the parser. For example the .nodeAttribute method was renamed, I believe. Can you think of anything else, in the parser or elsewhere ?