(:use-macros [enfocus.macros :only [at content]]) Note :use(-macros) is only supported with :only in ClojureScript.
Cheers, Michał On 3 June 2012 21:20, Murtaza Husain <murtaza.hus...@sevenolives.com> wrote: > Hi, > > I am using enfocus where the macros can be used in this manner (from > enfocus's site)- > > (ns my.namespace > > (:require [enfocus.core :as ef]) > > (:require-macros [enfocus.macros :as em])) > > (defn start [] > > (em/at js/document > > [“body”] (em/content “Hello world!”)) > > However I would like to directly use the "at" and "content" macros. In > clojure this can be done by importing the namespaces using the :use form. > Can I do the same in clojurescript? > > Thanks, > Murtaza > > -- > 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 -- 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