Fork me on GitHub
#cljsjs
<
2016-06-09
>
kendall.buchanan23:06:42

Anyone have suggestions for taking a CLJS library I wrote, compiled down to a JS file, and then requiring it within JS? I’ve followed mori’s example (https://github.com/swannodette/mori/blob/master/src/mori/macros.clj) for exporting functions from Clojure...

kendall.buchanan23:06:50

Problem is this: once I use Mori’s toClj function and pass, say, an object, to an exported function in the Clojurescript library, I get errors like the following:

kendall.buchanan23:06:09

Error: {:example “stuff"} is not ISeqable

kendall.buchanan23:06:34

The CLJS library appears to not understand the type of data being submitted to it.