mirror of
				https://github.com/mickael-kerjean/filestash.git
				synced 2025-10-31 01:58:11 +08:00 
			
		
		
		
	feature (org): cool stuff for org mode users ;)
This commit is contained in:
		
							
								
								
									
										8
									
								
								client/helpers/random.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								client/helpers/random.js
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,8 @@ | ||||
| export function guid(){ | ||||
|     function s4() { | ||||
|         return Math.floor((1 + Math.random()) * 0x10000) | ||||
|             .toString(16) | ||||
|             .substring(1); | ||||
|     } | ||||
|     return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4(); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Mickael KERJEAN
					Mickael KERJEAN