js-adler32/bits/00_header.js

28 lines
830 B
JavaScript
Raw Normal View History

/* adler32.js (C) 2014-present SheetJS -- http://sheetjs.com */
2014-06-18 17:58:20 +00:00
/* vim: set ts=2: */
/*exported ADLER32 */
2018-01-17 19:19:26 +00:00
/*:: declare var DO_NOT_EXPORT_ADLER:?boolean; */
/*:: declare function define(cb:()=>any):void; */
var ADLER32/*:ADLER32Module*/;
(function (factory/*:(a:any)=>void*/)/*:void*/ {
/*jshint ignore:start */
2018-01-17 19:19:26 +00:00
/*eslint-disable */
if(typeof DO_NOT_EXPORT_ADLER === 'undefined') {
if('object' === typeof exports) {
factory(exports);
} else if ('function' === typeof define && define.amd) {
define(function () {
2018-01-17 19:19:26 +00:00
var module/*:ADLER32Module*/ = /*::(*/{}/*:: :any)*/;
factory(module);
return module;
});
} else {
2018-01-17 19:19:26 +00:00
factory(ADLER32 = /*::(*/{}/*:: :any)*/);
}
} else {
2018-01-17 19:19:26 +00:00
factory(ADLER32 = /*::(*/{}/*:: :any)*/);
}
2018-01-17 19:19:26 +00:00
/*eslint-enable */
/*jshint ignore:end */
2018-01-17 19:19:26 +00:00
}(function(ADLER32/*:ADLER32Module*/) {