aboutsummaryrefslogtreecommitdiff
path: root/static/jcal.ts
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-11-10 01:40:22 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-11-10 01:40:22 +0100
commit410404cfdd54c083b6609fd52334e02d320145d7 (patch)
treeac934bde696f099590496d23bdd636f691f4c637 /static/jcal.ts
parentBasic event modification works again. (diff)
downloadcalp-410404cfdd54c083b6609fd52334e02d320145d7.tar.gz
calp-410404cfdd54c083b6609fd52334e02d320145d7.tar.xz
Re-modularize javascript.
This moves almost everything out of globals.ts, into sepparate files. Things are still slightly to tightly coupled. But that is worked on.
Diffstat (limited to 'static/jcal.ts')
-rw-r--r--static/jcal.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/static/jcal.ts b/static/jcal.ts
index 59ee93b4..605f41e7 100644
--- a/static/jcal.ts
+++ b/static/jcal.ts
@@ -1,6 +1,7 @@
export { jcal_to_xcal }
-import { ical_type, JCalProperty, JCal } from './types'
-import { xcal, asList } from './lib'
+
+import { xcal, ical_type, JCalProperty, JCal } from './types'
+import { asList } from './lib'
function jcal_type_to_xcal(doc: Document, type: ical_type, value: any): Element {
let el = doc.createElementNS(xcal, type);