js-crc32/bits/00_header.js

26 lines
614 B
JavaScript
Raw Normal View History

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