Firebug says goog.fx.Dragger is not a constructor. Firebug's error message doesn't match my understanding of the goog.fx.Dragger documentation, but yes, that line did stop the script.
http://closure-library.googlecode.com/svn/docs/class_goog_fx_Dragger.html On Mon, Aug 29, 2011 at 6:50 PM, atucker <agjf.tuc...@googlemail.com> wrote: > Hi! I wonder if someone might tell me what I'm doing wrong here. > > (ns hello (:require [goog.fx :as fx] [goog.dom :as dom])) > > (defn ^:export main [] > (let [kurdt (dom/getElement "kurdt")] > (dom/appendChild (.body (dom/getDocument)) (dom/createDom "h1" 0 > (dom/getOuterHtml kurdt))) > (fx/Dragger. kurdt) > (dom/appendChild (.body (dom/getDocument)) (dom/createDom "h1" 0 > (dom/getOuterHtml kurdt))))) > > with the HTML: > > <html> > <head></head> > <body> > <script type="text/javascript" src="hello.js"></script> > <img src="KURDT1.JPG" id="kurdt" border="0" /> > <script> > hello.main(); > </script> > </body> > </html> > > As you can see here > http://www2.warwick.ac.uk/fac/cross_fac/comcom/dtcsite/people/students2009/tucker/test2, > I am only getting the first output, as if the call to fx/Dragger. is > stopping the script. > > Thank you! Alistair > > -- > 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