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)