js-crc32/bits/00_header.js

23 lines
544 B
JavaScript
Raw Permalink Normal View History

/* crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
2014-06-16 21:27:47 +00:00
/* vim: set ts=2: */
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) {
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 {
factory(CRC32 = {});
2015-05-06 22:27:03 +00:00
}
} else {
factory(CRC32 = {});
}
}(function(CRC32) {