2016-01-13 03:30:35 +00:00
|
|
|
/* crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
|
2014-06-16 21:27:47 +00:00
|
|
|
/* vim: set ts=2: */
|
2016-06-16 20:49:46 +00:00
|
|
|
/*exported CRC32 */
|
2015-05-06 22:27:03 +00:00
|
|
|
var CRC32;
|
2015-05-06 21:47:18 +00:00
|
|
|
/*:: declare var DO_NOT_EXPORT_CRC: any; */
|
2015-05-06 22:27:03 +00:00
|
|
|
/*:: declare var define: any; */
|
|
|
|
(function (factory) {
|
2016-06-16 20:49:46 +00:00
|
|
|
/*jshint ignore:start */
|
2015-05-06 22:27:03 +00:00
|
|
|
if(typeof DO_NOT_EXPORT_CRC === 'undefined') {
|
|
|
|
if('object' === typeof exports) {
|
|
|
|
factory(exports);
|
|
|
|
} else if ('function' === typeof define && define.amd) {
|
|
|
|
define(function () {
|
|
|
|
var module = {};
|
|
|
|
factory(module);
|
|
|
|
return module;
|
|
|
|
});
|
|
|
|
} else {
|
2016-01-13 03:30:35 +00:00
|
|
|
factory(CRC32 = {});
|
2015-05-06 22:27:03 +00:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
factory(CRC32 = {});
|
|
|
|
}
|
2016-06-16 20:49:46 +00:00
|
|
|
/*jshint ignore:end */
|
2015-05-06 22:27:03 +00:00
|
|
|
}(function(CRC32) {
|