mozilla / aframe-xr

INACTIVE - http://mzl.la/ghe-archive - System / Components to build WebXR experiences with A-frame
https://mozilla.github.io/aframe-xr/
MIT License
183 stars 36 forks source link

xr component shouldn't search for a-scene #1

Closed blairmacintyre closed 6 years ago

blairmacintyre commented 6 years ago

aframe components should not search for the a-scene dom element, they should use their own sceneEl.

instead of registering for a "loaded" message, and then in that searching for the a-scene, why not just register for the "realityChanged" event in init?