work in progress [might break]

This commit is contained in:
Leon van Kammen 2023-11-13 10:09:38 +01:00
parent 0b609e271b
commit 1539df1fef
1 changed files with 10 additions and 6 deletions

View File

@ -1,8 +1,12 @@
AFRAME.registerComponent('xrshell', {
init: function ( ) {
console.log("this is the boot component which initializes other components")
AFRAME.registerComponent('require', {
init: function() {
},
});
})
//<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)