mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-30 19:40:12 +00:00 
			
		
		
		
	doing magic testing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									09c14afd4e
								
							
						
					
					
						commit
						9b4d67a46c
					
				
							
								
								
									
										32
									
								
								lib/jli.js
									
									
									
									
									
								
							
							
						
						
									
										32
									
								
								lib/jli.js
									
									
									
									
									
								
							| @ -222,11 +222,11 @@ function setElementTransform(elem, offset, scale){ | |||||||
| 	if(USE_TRANSFORM){ | 	if(USE_TRANSFORM){ | ||||||
| 		var transform = 'translate('+ offset.left +'px, '+ offset.top +'px) scale('+ scale +') ' + t3d | 		var transform = 'translate('+ offset.left +'px, '+ offset.top +'px) scale('+ scale +') ' + t3d | ||||||
| 		elem.css({ | 		elem.css({ | ||||||
| 			'-ms-transform' : transform,  | 			//'-ms-transform' : transform, 
 | ||||||
| 			'-webkit-transform' : transform,  | 			'-webkit-transform' : transform,  | ||||||
| 			'-moz-transform' : transform,  | 			//'-moz-transform' : transform, 
 | ||||||
| 			'-o-transform' : transform,  | 			//'-o-transform' : transform, 
 | ||||||
| 			'transform' : transform,  | 			//'transform' : transform, 
 | ||||||
| 
 | 
 | ||||||
| 			// XXX can we avoid this here?? 
 | 			// XXX can we avoid this here?? 
 | ||||||
| 			left: 0, | 			left: 0, | ||||||
| @ -242,11 +242,11 @@ function setElementTransform(elem, offset, scale){ | |||||||
| 			top: offset.top, | 			top: offset.top, | ||||||
| 
 | 
 | ||||||
| 			// XXX can we avoid this here?? 
 | 			// XXX can we avoid this here?? 
 | ||||||
| 			'-ms-transform' : transform,  | 			//'-ms-transform' : transform, 
 | ||||||
| 			'-webkit-transform' : transform,  | 			'-webkit-transform' : transform,  | ||||||
| 			'-moz-transform' : transform,  | 			//'-moz-transform' : transform, 
 | ||||||
| 			'-o-transform' : transform,  | 			//'-o-transform' : transform, 
 | ||||||
| 			'transform' : transform,  | 			//'transform' : transform, 
 | ||||||
| 		}) | 		}) | ||||||
| 	} | 	} | ||||||
| 	return elem | 	return elem | ||||||
| @ -324,10 +324,10 @@ function setTransitionEasing(elem, ease){ | |||||||
| 		ms = ms + 'ms' | 		ms = ms + 'ms' | ||||||
| 	} | 	} | ||||||
| 	return elem.css({ | 	return elem.css({ | ||||||
| 		'transition-timing-function': ease,  | 		//'transition-timing-function': ease, 
 | ||||||
| 		'-moz-transition-timing-function': ease, | 		//'-moz-transition-timing-function': ease,
 | ||||||
| 		'-o-transition-timing-function': ease, | 		//'-o-transition-timing-function': ease,
 | ||||||
| 		'-ms-transition-timing-function': ease, | 		//'-ms-transition-timing-function': ease,
 | ||||||
| 		'-webkit-transition-timing-function': ease | 		'-webkit-transition-timing-function': ease | ||||||
| 	}) | 	}) | ||||||
| } | } | ||||||
| @ -337,10 +337,10 @@ function setTransitionDuration(elem, ms){ | |||||||
| 		ms = ms + 'ms' | 		ms = ms + 'ms' | ||||||
| 	} | 	} | ||||||
| 	return elem.css({ | 	return elem.css({ | ||||||
| 		'transition-duration': ms,  | 		//'transition-duration': ms, 
 | ||||||
| 		'-moz-transition-duration': ms, | 		//'-moz-transition-duration': ms,
 | ||||||
| 		'-o-transition-duration': ms, | 		//'-o-transition-duration': ms,
 | ||||||
| 		'-ms-transition-duration': ms, | 		//'-ms-transition-duration': ms,
 | ||||||
| 		'-webkit-transition-duration': ms | 		'-webkit-transition-duration': ms | ||||||
| 	}) | 	}) | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user