2012/11/8 Thomas Heller <th.hel...@gmail.com> > 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 namespace qualified symbols. Also it's even less concerned with functions or whether they exists. What kind of error do you see? > Another problem will be the missing goog.require('goog.something') but > thats something I can work arround. > Ack, that's a problem. I think it's advisable to have an accompanying cljs file for every macro file for now. > wait-success being the macro, hiding all the CombinedResult wrapping and > unwrapping. Trying to coordinate 2 seperate async requests is annoying with > callbacks. > Also ack. I've implemented channels for that purpose. Incidentally, the syntax works pretty much like what you've sketched here. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en