mirror of
				https://github.com/flynx/Course-JavaScript.git
				synced 2025-11-04 14:00:10 +00:00 
			
		
		
		
	minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									372cb1d582
								
							
						
					
					
						commit
						dd8b02f0f7
					
				@ -2,6 +2,6 @@ CACHE MANIFEST
 | 
			
		||||
# Last Modified: 2017 Apr 13
 | 
			
		||||
 | 
			
		||||
CACHE:
 | 
			
		||||
simplesnake.html
 | 
			
		||||
simplesnake.css
 | 
			
		||||
simplesnake.js
 | 
			
		||||
simplesnake.html
 | 
			
		||||
 | 
			
		||||
@ -376,7 +376,8 @@ function setup(snake, timer, size){
 | 
			
		||||
		document.addEventListener('mousedown', makeTapHandler(snake))
 | 
			
		||||
		HANDLER_SET = true
 | 
			
		||||
 | 
			
		||||
		if(window.applicationCache){
 | 
			
		||||
		if(window.applicationCache 
 | 
			
		||||
				&& applicationCache.status != applicationCache.UNCACHED){
 | 
			
		||||
			applicationCache.update()
 | 
			
		||||
 | 
			
		||||
			applicationCache.addEventListener('updateready', function(){
 | 
			
		||||
@ -385,7 +386,7 @@ function setup(snake, timer, size){
 | 
			
		||||
					applicationCache.swapCache()
 | 
			
		||||
					location.reload()
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
			})
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user