mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 03:50:16 +00:00 
			
		
		
		
	more cleanup and refactoring...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									f417236a72
								
							
						
					
					
						commit
						b4a16ed0c4
					
				| @ -358,6 +358,7 @@ function makeScrollHandler(root, config){ | ||||
| 					.off('touchstart', startMoveHandler) | ||||
| 					.off('touchmove', moveHandler)  | ||||
| 					.off('touchend', endMoveHandler) | ||||
| 					.off('touchcancel', endMoveHandler) | ||||
| 			} else { | ||||
| 				root | ||||
| 					.off('mousedown', startMoveHandler)  | ||||
| @ -406,6 +407,7 @@ function makeScrollHandler(root, config){ | ||||
| // 		same field when it recieves the object.
 | ||||
| // XXX add generic snap
 | ||||
| // XXX add generic innertial scroll 
 | ||||
| // 		...see jli.js/animateElementTo for a rough implementation
 | ||||
| // XXX test multiple touches...
 | ||||
| function postScrollCallback(data){ | ||||
| 	var scroller = data.scroller | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user