Fork me on GitHub
#hoplon
<
2017-08-20
>
thedavidmeister02:08:27

@flyboarder i pulled in hoplon snapshot

thedavidmeister02:08:39

WARNING: Wrong number of args (0) passed to cljs.core/atom at line 38 src/blocker/dom.cljs
                                     clojure.lang.ExceptionInfo: clojure.lang.ExceptionInfo: ERROR: Call to hoplon.core/elem did not conform to spec:
                                                                 In: [0 0] val: {:keys [left right middle]} fails spec: :hoplon.spec/attr-kids at: [:args :bindings 0] predicate: symbol?

thedavidmeister02:08:01

looks like i have to do a refactor for spec to work

thedavidmeister02:08:02

(h/defelem section
 [{:keys [left right middle]} children]

thedavidmeister02:08:11

seems right to me?

thedavidmeister02:08:35

also looks like when-tpl can throw the warning too

flyboarder03:08:05

@thedavidmeister I'll pull that in to the 7.1.0-SNAPSHOT tonight

thedavidmeister03:08:14

thanks 🙂

flyboarder20:08:58

@thedavidmeister merged! should be on clojars by the time you read this 😉