mirror of
				https://github.com/gnh1201/welsonjs.git
				synced 2025-10-31 04:51:17 +00:00 
			
		
		
		
	Update std.js
This commit is contained in:
		
							parent
							
								
									0bc9249feb
								
							
						
					
					
						commit
						87d494d148
					
				|  | @ -169,13 +169,13 @@ function rotate(target, callback, onError) { | |||
|     while (!stop) { | ||||
|         try { | ||||
|             if (typeof callback === "function") { | ||||
|                 stop = !callback(i, arr[i]); | ||||
|                 stop = callback(i, arr[i]); | ||||
|             } else { | ||||
|                 stop = true; | ||||
|             } | ||||
|         } catch (e) { | ||||
|             if (typeof onError === "function") | ||||
|                 stop = !onError(e); | ||||
|                 stop = onError(e); | ||||
|             ; | ||||
|         } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 GitHub
							GitHub