Hi Mike, is that by any chance meant for re-frame? If so, I've got an updated fork with refactored logging using cljs-log[1] and will send PR later today...
Cljs-log fully elides logging calls at compile time based on log level (configurable via env vars) Hth! K. [1] https://github.com/postspectacular/cljs-log On 23 Mar 2015 08:41, "Mike Thompson" <[email protected]> wrote: > On Monday, March 23, 2015 at 7:33:33 PM UTC+11, Mike Thompson wrote: > > On Monday, March 23, 2015 at 7:00:58 PM UTC+11, Colin Yates wrote: > > > `(do > > > (schema.core/defn > > > ~(with-meta 'create {:always-validate true}) > > > ... > > > > > > worked for me. > > > > > > Thanks, Colin. So the version I need would look like this? > > > > (defmacro m > > [x] > > `(if-not ~(with-meta 'js/goog.DEBUG {:tag boolean}) ~x)) > > > Sigh. Or maybe this: > > (defmacro m > [x] > `(if-not (with-meta js/goog.DEBUG {:tag boolean}) ~x)) > > > I'll rig up a test tomorrow. Thanks. > > -- > Mike > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
