mirror of
				https://github.com/1disk/edp445.git
				synced 2024-08-14 22:47:02 +00:00 
			
		
		
		
	Changed alot of things.
This commit is contained in:
		
							parent
							
								
									a5a0523e5a
								
							
						
					
					
						commit
						3513d5390c
					
				
					 2016 changed files with 336930 additions and 9 deletions
				
			
		
							
								
								
									
										15
									
								
								node_modules/hexoid/dist/index.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/hexoid/dist/index.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,15 @@ | |||
| var IDX=256, HEX=[]; | ||||
| while (IDX--) HEX[IDX] = (IDX + 256).toString(16).substring(1); | ||||
| 
 | ||||
| module.exports = function (len) { | ||||
| 	len = len || 16; | ||||
| 	var str='', num=0; | ||||
| 	return function () { | ||||
| 		if (!str || num === 256) { | ||||
| 			str=''; num=(1+len)/2 | 0; | ||||
| 			while (num--) str += HEX[256 * Math.random() | 0]; | ||||
| 			str = str.substring(num=0, len-2); | ||||
| 		} | ||||
| 		return str + HEX[num++]; | ||||
| 	}; | ||||
| } | ||||
							
								
								
									
										1
									
								
								node_modules/hexoid/dist/index.min.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								node_modules/hexoid/dist/index.min.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| !function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):n.hexoid=e()}(this,(function(){for(var n=256,e=[];n--;)e[n]=(n+256).toString(16).substring(1);return function(n){n=n||16;var t="",o=0;return function(){if(!t||256===o){for(t="",o=(1+n)/2|0;o--;)t+=e[256*Math.random()|0];t=t.substring(o=0,n-2)}return t+e[o++]}}})); | ||||
							
								
								
									
										15
									
								
								node_modules/hexoid/dist/index.mjs
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/hexoid/dist/index.mjs
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,15 @@ | |||
| var IDX=256, HEX=[]; | ||||
| while (IDX--) HEX[IDX] = (IDX + 256).toString(16).substring(1); | ||||
| 
 | ||||
| export default function (len) { | ||||
| 	len = len || 16; | ||||
| 	var str='', num=0; | ||||
| 	return function () { | ||||
| 		if (!str || num === 256) { | ||||
| 			str=''; num=(1+len)/2 | 0; | ||||
| 			while (num--) str += HEX[256 * Math.random() | 0]; | ||||
| 			str = str.substring(num=0, len-2); | ||||
| 		} | ||||
| 		return str + HEX[num++]; | ||||
| 	}; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue