Re: Enfocus issues
Thanks for point that out. It will be fixed shortly. CK On Friday, June 15, 2012 1:40:22 AM UTC-4, Andreas Kostler wrote: There you go...wrong on the example-page then. Thanks David On 15 June 2012 15:00, David Nolen dnolen.li...@gmail.com wrote: On Fri, Jun 15, 2012 at 1:23 AM, Andreas Kostler andreas.koest...@leica-geosystems.com wrote: (set! (.onload js/window) start) Should be (set! (.-onload js/window) start) -- 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
Re: Enfocus issues
Andreas Thank you for pointing this out. I have fixed this on the readme page. I also noticed it is wrong in a few other places. I will fix them today also. Enfocus also has a google group if you run into more issues. https://groups.google.com/group/enfocus Creighton -- 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
Enfocus issues
Hi everyone, I finally decided to give clojurescript a spin. Unfortunately, the momentum died before I even got the ball running. I'm trying to replicate the canonical example on the enfocus website using lein-cljsbuild [0.2.1] and enfocus [0.9.1-SNAPSHOT]: (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!)) (set! (.onload js/window) start) lein cljsbuild once fails with the following error: Compiling resources/public/js/main.js failed: java.lang.AssertionError: Assert failed: set! target must be a field or a symbol naming a var Any clues? Cheers Andreas -- 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
Re: Enfocus issues
On Fri, Jun 15, 2012 at 1:23 AM, Andreas Kostler andreas.koest...@leica-geosystems.com wrote: (set! (.onload js/window) start) Should be (set! (.-onload js/window) start) -- 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
Re: Enfocus issues
There you go...wrong on the example-page then. Thanks David On 15 June 2012 15:00, David Nolen dnolen.li...@gmail.com wrote: On Fri, Jun 15, 2012 at 1:23 AM, Andreas Kostler andreas.koest...@leica-geosystems.com wrote: (set! (.onload js/window) start) Should be (set! (.-onload js/window) start) -- 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