UNPKG

dockview

Version:

Zero dependency layout manager supporting tabs, grids and splitviews with ReactJS support

20 lines (19 loc) 829 B
"use strict"; function runFootnote() { var _a, _b; const DOCKVIEW_SUPPRESS_WATERMARK = 'DOCKVIEW_WATERMARK_SUPPRESSED'; const 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 } const 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.${DOCKVIEW_SUPPRESS_WATERMARK}=1 before importing the dockview package`, '', ].join('\n')); } } runFootnote();