Closed mynomoto closed 7 years ago
@mynomoto I also thought the cljs.core/destructure
was a typo, but I think it's correct. I think we just need to require the cljs.core
namespace: https://github.com/hoplon/javelin/pull/31/commits/6b634795ef2225be848491d9279e742863d6aba6
I guess we could do something like (if (resolve 'cljs.core/destructure) ...
perhaps
I think you are right, destructure is from at least april of 2015. Should be safe enough.
I rolled this into #31 :man_singer:
Fixes #32
The unrelated change of destructure is because cljs.core/destructure is pretty recent and don't work on older versions of clojurescript.