work in progress [might break]
This commit is contained in:
		
							parent
							
								
									0b609e271b
								
							
						
					
					
						commit
						1539df1fef
					
				
					 1 changed files with 10 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue