diff options
Diffstat (limited to '')
-rw-r--r-- | static/globals.ts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/static/globals.ts b/static/globals.ts index be79dae7..b0871aa2 100644 --- a/static/globals.ts +++ b/static/globals.ts @@ -1,6 +1,5 @@ export { find_block, - VIEW, EDIT_MODE, vcal_objects, event_calendar_mapping } @@ -13,14 +12,12 @@ const event_calendar_mapping: Map<uid, string> = new Map; declare global { interface Window { vcal_objects: Map<uid, VEvent>; + VIEW: 'month' | 'week'; + EDIT_MODE: boolean; } } window.vcal_objects = vcal_objects; -declare let VIEW: 'month' | 'week' -declare let EDIT_MODE: boolean - - function find_block(uid: uid): HTMLElement | null { let obj = vcal_objects.get(uid) if (obj === undefined) { |