diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-03-02 23:34:14 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-03-02 23:34:14 +0100 |
commit | cbe3c46a898822b6ee0f10366e561c6a8055a1b6 (patch) | |
tree | 3ceb9ecfb97b0d8a6db6f2c3cc17f59b5c117f63 /module | |
parent | Look at mapping in vcal types to js types. (diff) | |
download | calp-cbe3c46a898822b6ee0f10366e561c6a8055a1b6.tar.gz calp-cbe3c46a898822b6ee0f10366e561c6a8055a1b6.tar.xz |
Start moving vcal stuff to own class.
Diffstat (limited to 'module')
-rw-r--r-- | module/calp/html/vcomponent.scm | 4 | ||||
-rw-r--r-- | module/calp/html/view/calendar.scm | 1 | ||||
-rw-r--r-- | module/calp/repl.scm | 7 |
3 files changed, 10 insertions, 2 deletions
diff --git a/module/calp/html/vcomponent.scm b/module/calp/html/vcomponent.scm index 5c498f0e..4852390c 100644 --- a/module/calp/html/vcomponent.scm +++ b/module/calp/html/vcomponent.scm @@ -559,7 +559,9 @@ ,@(when (debug) `((ul (li (button (@ (onclick "console.log(event_to_jcal(event_from_popup(this.closest('.popup-container'))));")) "js")) - (li (button (@ (onclick "console.log(jcal_to_xcal(event_to_jcal(event_from_popup(this.closest('.popup-container')))));")) "xml")))))) + (li (button (@ (onclick "console.log(jcal_to_xcal(event_to_jcal(event_from_popup(this.closest('.popup-container')))));")) "xml")) + (li (button (@ (onclick "console.log(event_from_popup(this.closest('.popup-container')))")) "this")) + )))) )) ,@(when (prop ev 'RRULE) diff --git a/module/calp/html/view/calendar.scm b/module/calp/html/view/calendar.scm index 3f607bb7..e3b0bd3d 100644 --- a/module/calp/html/view/calendar.scm +++ b/module/calp/html/view/calendar.scm @@ -115,6 +115,7 @@ (script (@ (defer) (src "/static/server_connect.js"))) (script (@ (defer) (src "/static/input_list.js"))) (script (@ (defer) (src "/static/date_time.js"))) + (script (@ (defer) (src "/static/vcal.js"))) (script (@ (defer) (src "/static/script.js"))) ,(calendar-styles calendars)) diff --git a/module/calp/repl.scm b/module/calp/repl.scm index d4f087aa..e6fbfe3d 100644 --- a/module/calp/repl.scm +++ b/module/calp/repl.scm @@ -31,4 +31,9 @@ [(address port) (make-tcp-server-socket host: address port: port)]) (string-split address #\:))] ;; currently impossible - [(IPv6) (error "How did you get here?")]))) + [(IPv6) (error "How did you get here?")])) + + ;; TODO setup repl environment here + + + ) |