50 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			50 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
|  | <!DOCTYPE html> | ||
|  | <!-- crc32.js (C) 2014-present  SheetJS http://sheetjs.com --> | ||
|  | <!-- vim: set ts=2: --> | ||
|  | <html> | ||
|  | <head> | ||
|  | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||
|  | <title>JS-CRC32 Live Demo</title> | ||
|  | <style> | ||
|  | #drop{ | ||
|  | 	border:2px dashed #bbb; | ||
|  | 	-moz-border-radius:5px; | ||
|  | 	-webkit-border-radius:5px; | ||
|  | 	border-radius:5px; | ||
|  | 	padding:25px; | ||
|  | 	text-align:center; | ||
|  | 	font:20pt bold,"Vollkorn";color:#bbb | ||
|  | } | ||
|  | a { text-decoration: none } | ||
|  | </style> | ||
|  | </head> | ||
|  | <body> | ||
|  | <pre> | ||
|  | <b><a href="http://sheetjs.com/bits">SheetJS JS-CRC32 Live Demo</a></b> | ||
|  | (text works back to IE6; drag and drop works back to IE10) | ||
|  | 
 | ||
|  | <a href="https://github.com/SheetJS/js-crc32">Source Code Repo</a> | ||
|  | <a href="https://github.com/SheetJS/js-crc32/issues">Issues?  Something look weird?  Click here and report an issue</a> | ||
|  | <br /> | ||
|  | <div id="drop">Drop a text file to compute the CRC-32 checksum</div> | ||
|  | 
 | ||
|  | <pre id="out"></pre> | ||
|  | <br /> | ||
|  | <script type="text/javascript">/* jshint browser: true */</script> | ||
|  | <script src="shim.js"></script> | ||
|  | <script src="crc32.js"></script> | ||
|  | <script src="demo/worker.flow.js"></script> | ||
|  | <script type="text/javascript"> | ||
|  | 	var _gaq = _gaq || []; | ||
|  | 	_gaq.push(['_setAccount', 'UA-36810333-1']); | ||
|  | 	_gaq.push(['_trackPageview']); | ||
|  | 
 | ||
|  | 	(function() { | ||
|  | 		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
|  | 		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
|  | 		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
|  | 	})(); | ||
|  | </script> | ||
|  | </body> | ||
|  | </html> |