work in progress [might break]
This commit is contained in:
parent
0b609e271b
commit
1539df1fef
|
@ -1,8 +1,12 @@
|
||||||
AFRAME.registerComponent('xrshell', {
|
AFRAME.registerComponent('require', {
|
||||||
init: function ( ) {
|
init: function() {
|
||||||
|
|
||||||
console.log("this is the boot component which initializes other components")
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
});
|
})
|
||||||
|
//<script src="https://coderofsalvation.github.io/xrsh-apps/helloworld.js"></script>
|
||||||
|
const updateComponents = AFRAME.AEntity.prototype.updateComponents
|
||||||
|
AFRAME.AEntity.prototype.updateComponents = function(updateComponents){
|
||||||
|
return function(){
|
||||||
|
return updateComponents.apply(this,args)
|
||||||
|
}
|
||||||
|
}(updateComponents)
|
||||||
|
|
Loading…
Reference in New Issue