diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-10-05 02:17:09 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-10-05 02:17:09 +0200 |
commit | 6e240ba91752990c6cb087e576432ce9b6a8ad44 (patch) | |
tree | 451434ea43a7e1879bc439be0798c122e7fc4544 /module/vcomponent | |
parent | Setting DTEND now works. (diff) | |
download | calp-6e240ba91752990c6cb087e576432ce9b6a8ad44.tar.gz calp-6e240ba91752990c6cb087e576432ce9b6a8ad44.tar.xz |
Simplify /insert endpoint.
Diffstat (limited to 'module/vcomponent')
-rw-r--r-- | module/vcomponent/base.scm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/module/vcomponent/base.scm b/module/vcomponent/base.scm index ae10fe01..34d4416b 100644 --- a/module/vcomponent/base.scm +++ b/module/vcomponent/base.scm @@ -169,14 +169,6 @@ (copy-vline value)))) (get-component-properties component))))) -;; updates target with all fields from source. -;; fields in target but not in source left unchanged. -;; parent and children unchanged -(define-public (vcomponent-update! target source) - (for key in (property-keys source) - (set! (prop* target key) - (prop* source key)))) - (define-public (extract field) (lambda (e) (prop e field))) |