alexanderjamesking/spy

ClojureScript - js-obj support

alexanderjamesking opened this issue · 1 comments

From a conversation on slack:

Why can’t a MetaFn be used inside a `js-obj`? Seems like only `js/Function`s are allowed in a `js-obj`?

Ideal code would be `(js-obj "addListener" (spy/stub))`

No plans to do this anytime soon as I haven't needed it, feel free to comment if someone actually needs this.