Finished the Macro, probably not the best solution but certainly beats the
plain JavaScript Version.
https://gist.github.com/4041597 if anyones interested.
Not yet usable via lein-cljsbuild or any official clojurescript release,
since the goog.result stuff is pretty new and not officially relea
Doh, just me being stupid again.
I write macros by macroexpand-1'ing it over and over until I get what I
want, used macroexpand this time which caused my problem.
Thanks.
On Thursday, November 8, 2012 6:05:34 PM UTC+1, Herwig Hochleitner wrote:
>
> 2012/11/8 Thomas Heller >
>
>> I'm trying to w
2012/11/8 Thomas Heller
> I'm trying to write a Macro for CLJS which calls a Javascript Function
> directly in the generated code (NOT in the macro). But since the javascript
> function (and namespace) is unknown to Clojure it fails trying to resolve
> it.
>
Syntax quote (`) doesn't resolve name
Hey,
I'm trying to write a Macro for CLJS which calls a Javascript Function
directly in the generated code (NOT in the macro). But since the javascript
function (and namespace) is unknown to Clojure it fails trying to resolve
it.
Extemely simplified example:
question.clj
(ns question)
(defmac