printj/bits/00_header.js

36 lines
1.0 KiB
JavaScript
Raw Normal View History

2016-09-19 06:33:23 +00:00
/* printj.js (C) 2016-present SheetJS -- http://sheetjs.com */
/* vim: set ts=2: */
/*jshint sub:true, eqnull:true */
/*exported PRINTJ */
/*:: declare var DO_NOT_EXPORT_PRINTJ:?boolean; */
/*:: declare function define(cb:()=>any):void; */
#ifdef USE_ESM
var PRINTJ/*:PRINTJModule*/ = /*::(*/{}/*:: :any)*/;
#include "01_version.js"
export const version = PRINTJ.version;
#else
var PRINTJ/*:PRINTJModule*/;
2016-09-19 06:33:23 +00:00
(function (factory/*:(a:any)=>void*/)/*:void*/ {
/*jshint ignore:start */
2018-01-17 00:55:27 +00:00
/*eslint-disable */
2016-09-19 06:33:23 +00:00
if(typeof DO_NOT_EXPORT_PRINTJ === 'undefined') {
if('object' === typeof exports) {
factory(exports);
} else if ('function' === typeof define && define.amd) {
define(function () {
var module/*:PRINTJModule*/ = /*::(*/{}/*:: :any)*/;
2016-09-19 06:33:23 +00:00
factory(module);
return module;
});
} else {
factory(PRINTJ = /*::(*/{}/*:: :any)*/);
2016-09-19 06:33:23 +00:00
}
} else {
factory(PRINTJ = /*::(*/{}/*:: :any)*/);
2016-09-19 06:33:23 +00:00
}
2018-01-17 00:55:27 +00:00
/*eslint-enable */
2016-09-19 06:33:23 +00:00
/*jshint ignore:end */
}(function(PRINTJ/*:PRINTJModule*/) {
2016-09-19 06:33:23 +00:00
#include "01_version.js"
#endif