forked from sheetjs/sheetjs
		
	cleaning up XLSX leak
This commit is contained in:
		
							parent
							
								
									fd6e3fa19b
								
							
						
					
					
						commit
						9e41edcbd2
					
				| @ -1 +1,2 @@ | ||||
| var XLSX = (function(){ | ||||
| var XLSX = {}; | ||||
| (function(XLSX){ | ||||
|  | ||||
| @ -520,6 +520,6 @@ function readFileSync(data, options) { | ||||
| 	return readSync(data, o); | ||||
| } | ||||
| 
 | ||||
| this.read = readSync; | ||||
| this.readFile = readFileSync; | ||||
| this.parseZip = parseZip; | ||||
| XLSX.read = readSync; | ||||
| XLSX.readFile = readFileSync; | ||||
| XLSX.parseZip = parseZip; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| return this; | ||||
| 
 | ||||
| })(); | ||||
| })(XLSX); | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										11
									
								
								xlsx.js
									
									
									
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										11
									
								
								xlsx.js
									
									
									
									
									
								
							| @ -222,7 +222,8 @@ SSF.format = format; | ||||
| 
 | ||||
| 	return SSF; | ||||
| })(); | ||||
| var XLSX = (function(){ | ||||
| var XLSX = {}; | ||||
| (function(XLSX){ | ||||
| function parsexmltag(tag) { | ||||
| 	var words = tag.split(/\s+/); | ||||
| 	var z = {'0': words[0]}; | ||||
| @ -950,12 +951,12 @@ function readFileSync(data, options) { | ||||
| 	return readSync(data, o); | ||||
| } | ||||
| 
 | ||||
| this.read = readSync; | ||||
| this.readFile = readFileSync; | ||||
| this.parseZip = parseZip; | ||||
| XLSX.read = readSync; | ||||
| XLSX.readFile = readFileSync; | ||||
| XLSX.parseZip = parseZip; | ||||
| return this; | ||||
| 
 | ||||
| })(); | ||||
| })(XLSX); | ||||
| 
 | ||||
| var _chr = function(c) { return String.fromCharCode(c); }; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user