make view attributes optional

This commit is contained in:
Bruce Hauman 2018-10-10 11:12:18 -04:00 committed by Julien Eluard
parent 642373e43a
commit 18f544f019
No known key found for this signature in database
GPG Key ID: 6FD7DB5437FCBEF6
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
(spec/def ::element (spec/def ::element
(spec/cat (spec/cat
:tag (spec/or :symbol symbol? :fn fn?) :tag (spec/or :symbol symbol? :fn fn?)
:attrs map? :attrs (spec/? map?)
:children (spec/* ::form))) :children (spec/* ::form)))
(declare parse) (declare parse)