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 */
|
2018-01-17 21:27:59 +00:00
|
|
|
/*:: declare var DO_NOT_EXPORT_CRC:?boolean; */
|
|
|
|
/*:: declare function define(cb:()=>any):void; */
|
|
|
|
var CRC32/*:CRC32Module*/;
|
|
|
|
(function (factory/*:(a:any)=>void*/)/*:void*/ {
|
2016-06-16 20:49:46 +00:00
|
|
|
/*jshint ignore:start */
|
2018-01-17 21:27:59 +00:00
|
|
|
/*eslint-disable */
|
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 () {
|
2018-01-17 21:27:59 +00:00
|
|
|
var module/*:CRC32Module*/ = /*::(*/{}/*:: :any)*/;
|
2015-05-06 22:27:03 +00:00
|
|
|
factory(module);
|
|
|
|
return module;
|
|
|
|
});
|
|
|
|
} else {
|
2018-01-17 21:27:59 +00:00
|
|
|
factory(CRC32 = /*::(*/{}/*:: :any)*/);
|
2015-05-06 22:27:03 +00:00
|
|
|
}
|
|
|
|
} else {
|
2018-01-17 21:27:59 +00:00
|
|
|
factory(CRC32 = /*::(*/{}/*:: :any)*/);
|
2015-05-06 22:27:03 +00:00
|
|
|
}
|
2018-01-17 21:27:59 +00:00
|
|
|
/*eslint-enable */
|
2016-06-16 20:49:46 +00:00
|
|
|
/*jshint ignore:end */
|
2018-01-17 21:27:59 +00:00
|
|
|
}(function(CRC32/*:CRC32Module*/) {
|