diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-11-10 01:40:22 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-11-10 01:40:22 +0100 |
commit | 410404cfdd54c083b6609fd52334e02d320145d7 (patch) | |
tree | ac934bde696f099590496d23bdd636f691f4c637 /static/jcal.ts | |
parent | Basic event modification works again. (diff) | |
download | calp-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.ts | 5 |
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); |