mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-11-04 05:10:07 +00:00 
			
		
		
		
	added reporting on export...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									e765bd34bf
								
							
						
					
					
						commit
						5ffb3ebde3
					
				@ -672,7 +672,16 @@ function exportTo(path, im_name, dir_name, size){
 | 
			
		||||
			dest = path +'/'+ dest
 | 
			
		||||
 | 
			
		||||
			// copy... 
 | 
			
		||||
			// NOTE: the sad smily face here is here for JS compatibility ;)
 | 
			
		||||
			;(function(src, dest){
 | 
			
		||||
				copyFile(src, dest)
 | 
			
		||||
					.done(function(){
 | 
			
		||||
						console.log(src, 'done.')
 | 
			
		||||
					})
 | 
			
		||||
					.fail(function(err){
 | 
			
		||||
						console.warn(src, 'err:', err)
 | 
			
		||||
					})
 | 
			
		||||
			})(src, dest)
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		path = normalizePath(path +'/'+ dir_name)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user