diff --git a/com/require.js b/com/require.js index 90ea98e..8c7aa88 100644 --- a/com/require.js +++ b/com/require.js @@ -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() { }, -}); +}) + // +const updateComponents = AFRAME.AEntity.prototype.updateComponents +AFRAME.AEntity.prototype.updateComponents = function(updateComponents){ + return function(){ + return updateComponents.apply(this,args) + } +}(updateComponents)