| 
									
										
										
										
											2018-03-13 02:51:54 +00:00
										 |  |  | <!DOCTYPE html> | 
					
						
							| 
									
										
										
										
											2017-09-24 23:40:09 +00:00
										 |  |  | <!-- xlsx.js (C) 2013-present  SheetJS http://sheetjs.com --> | 
					
						
							| 
									
										
										
										
											2018-03-13 02:51:54 +00:00
										 |  |  | <!-- vim: set ts=2: --> | 
					
						
							|  |  |  | <html> | 
					
						
							|  |  |  | <head> | 
					
						
							|  |  |  | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | 
					
						
							|  |  |  | <title>SheetJS SystemJS Test</title> | 
					
						
							|  |  |  | <style> | 
					
						
							|  |  |  | a { text-decoration: none } | 
					
						
							|  |  |  | </style> | 
					
						
							|  |  |  | </head> | 
					
						
							|  |  |  | <body> | 
					
						
							|  |  |  | <pre> | 
					
						
							|  |  |  | <b><a href="http://sheetjs.com">SheetJS SystemJS Demo</a></b> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <a href="https://github.com/SheetJS/js-xlsx">Source Code Repo</a> | 
					
						
							|  |  |  | <a href="https://github.com/SheetJS/js-xlsx/issues">Issues?  Something look weird?  Click here and report an issue</a> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Original script: <a href="main.simple.js">main.simple.js</a> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <b>Console Output:</b> | 
					
						
							|  |  |  | </pre> | 
					
						
							|  |  |  | <pre id="console"></pre> | 
					
						
							|  |  |  | <b> | 
					
						
							|  |  |  | <script> | 
					
						
							|  |  |  | if(typeof console !== "undefined") console = {}; | 
					
						
							|  |  |  | console.__log = console.log || function(){}; | 
					
						
							|  |  |  | console.log = function(x) { | 
					
						
							|  |  |  |     console.__log.apply(console, arguments); | 
					
						
							|  |  |  |     document.getElementById('console').innerText += x + "\n"; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | console.error = console.debug = console.info =  console.log | 
					
						
							|  |  |  | </script> | 
					
						
							| 
									
										
										
										
											2017-09-24 23:40:09 +00:00
										 |  |  | <script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.20.16/system.js"></script> | 
					
						
							|  |  |  | <script> | 
					
						
							|  |  |  | SystemJS.config({ | 
					
						
							|  |  |  | 	meta: { | 
					
						
							|  |  |  | 		'xlsx': { | 
					
						
							|  |  |  | 			exports: 'XLSX' // <-- tell SystemJS to expose the XLSX variable | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 	}, | 
					
						
							|  |  |  | 	map: { | 
					
						
							|  |  |  | 		'xlsx': 'xlsx.full.min.js', // <-- make sure xlsx.full.min.js is in same dir | 
					
						
							|  |  |  | 		'fs': '',     // <--| | 
					
						
							|  |  |  | 		'crypto': '', // <--| suppress native node modules | 
					
						
							|  |  |  | 		'stream': ''  // <--| | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | }); | 
					
						
							|  |  |  | SystemJS.import('main.simple.js'); | 
					
						
							|  |  |  | </script> | 
					
						
							| 
									
										
										
										
											2018-03-13 02:51:54 +00:00
										 |  |  | </body> | 
					
						
							|  |  |  | </html> |