You can no longer use foo/bar to access properties, a slash now always indicates a namespace with CLJS 1933 and up.
On Sat, Oct 19, 2013 at 12:47 PM, Greg Chapman <[email protected]>wrote: > I've been working through the Clojurescript tutorial here: > https://github.com/magomimmo/modern-cljs > > When compiling step 2, which adds a file requiring clojure.browser.repl, I > get a "WARNING: No such namespace: e at line 71" (in repl.cljs). The code > in repl.cljs is: > > (event/listen connection >> :success >> (fn [e] >> (net/transmit >> repl-connection >> :evaluate-javascript >> (.getResponseText e/currentTarget >> ())))) >> >> > which does appear to be treating the event object e as a namespace. Should > that be changed to (.- currentTarget e) ? > > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > 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 unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
