dockview
Version:
Zero dependency layout manager supporting tabs, grids and splitviews with ReactJS support
20 lines • 869 B
JavaScript
;
function runFootnote() {
var _a, _b;
var DOCKVIEW_SUPPRESS_WATERMARK = 'DOCKVIEW_WATERMARK_SUPPRESSED';
var isTest = ((_b = (_a = window.process) === null || _a === void 0 ? void 0 : _a.env) === null || _b === void 0 ? void 0 : _b.NODE_ENV) === 'test';
if (isTest) {
return; // don't spam people tests
}
var isSuppressed = !!window[DOCKVIEW_SUPPRESS_WATERMARK];
if (!isSuppressed) {
console.log([
'dockview: https://github.com/mathuo/dockview for examples and documentation',
'dockview: https://www.npmjs.com/package/dockview',
"dockview: To suppress this message set window.".concat(DOCKVIEW_SUPPRESS_WATERMARK, "=1 before importing the dockview package"),
'',
].join('\n'));
}
}
runFootnote();
//# sourceMappingURL=footnote.js.map