feat: remove footnote

This commit is contained in:
mathuo 2022-02-16 20:25:24 +00:00
parent 647945debc
commit 60d49fde61
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281
2 changed files with 0 additions and 26 deletions

View File

@ -1,24 +0,0 @@
function runFootnote() {
const DOCKVIEW_SUPPRESS_WATERMARK = 'DOCKVIEW_WATERMARK_SUPPRESSED';
const isTest = (window as any).process?.env?.NODE_ENV === 'test';
if (isTest) {
return; // don't spam people tests
}
const isSuppressed = !!(window as any)[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();

View File

@ -1,5 +1,3 @@
import './footnote';
export * from './events';
export * from './lifecycle';
export * from './dnd/dataTransfer';