Re: [ClojureScript] Javascript->closureScriptFn()

2014-02-15 Thread Joel Holdbrooks
FYI: Don't forget to add the ^:export meta data to the function if you intend to call ClojureScript code compiled in :advanced mode from JavaScript. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscri

Re: [ClojureScript] Javascript->closureScriptFn()

2014-02-06 Thread Joel Trunick
No, i just simply missed this in the docs. Thanks! On Thu, Feb 6, 2014 at 10:52 AM, David Nolen wrote: > On Thu, Feb 6, 2014 at 11:50 AM, Joel wrote: > >> I've seen examples of calling into javascript from closurescript, but >> none vice-versa. >> >> This seems like a real problem if you need

[ClojureScript] Javascript->closureScriptFn()

2014-02-06 Thread Joel
I've seen examples of calling into javascript from closurescript, but none vice-versa. This seems like a real problem if you need the javascript to make a callback. Workarounds? Or, did I just miss some interop documentation? J -- Note that posts from new members are moderated - please be pa

Re: [ClojureScript] Javascript->closureScriptFn()

2014-02-06 Thread David Nolen
On Thu, Feb 6, 2014 at 11:50 AM, Joel wrote: > I've seen examples of calling into javascript from closurescript, but none > vice-versa. > > This seems like a real problem if you need the javascript to make a > callback. Workarounds? Or, did I just miss some interop documentation? > For the callb