aboutsummaryrefslogtreecommitdiff
path: root/static/popup.ts
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-11-01 16:17:46 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-11-01 16:17:46 +0100
commit44f8ae5ba2b6b4954d6562aff2f4e704cfa1a966 (patch)
treead2bb4386f402ca0201b997ea6aecd8b6c9f2d42 /static/popup.ts
parentlib. (diff)
downloadcalp-44f8ae5ba2b6b4954d6562aff2f4e704cfa1a966.tar.gz
calp-44f8ae5ba2b6b4954d6562aff2f4e704cfa1a966.tar.xz
Limit exports to those used by imports.
This gives a clearer picture of what is dead code and what isn't.
Diffstat (limited to 'static/popup.ts')
-rw-r--r--static/popup.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/static/popup.ts b/static/popup.ts
index 3fb4ae54..90cb9e1c 100644
--- a/static/popup.ts
+++ b/static/popup.ts
@@ -1,5 +1,7 @@
import { find_block, find_popup, PopupElement } from './globals'
-export { event_from_popup, popup_from_event, close_popup, close_all_popups, VIEW, open_popup, toggle_popup, activePopup }
+export { event_from_popup, popup_from_event, close_popup,
+ close_all_popups, /* VIEW, */open_popup, toggle_popup, activePopup
+}
/* event component => coresponding popup component */