removed console.log which flooded the whole console
This commit is contained in:
		
							parent
							
								
									2a67ab40ee
								
							
						
					
					
						commit
						b12ac2fab9
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -112,7 +112,6 @@ const handleGamepads={
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const handleEvent=(type, evt) => {
 | 
					const handleEvent=(type, evt) => {
 | 
				
			||||||
	for(let handler of handlers) {
 | 
						for(let handler of handlers) {
 | 
				
			||||||
		console.log(type, handler);
 | 
					 | 
				
			||||||
		let fn=handler[type];
 | 
							let fn=handler[type];
 | 
				
			||||||
		if(fn) fn(evt);
 | 
							if(fn) fn(evt);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue