> WARNING - dangerous use of the global this object These warnings should now be gone (thanks to Fogus).
On Aug 7, 3:19 pm, ataggart <alexclojuregr...@gmail.com> wrote: > Great. > > BTW, are these warnings expected: > > $ cat > hello.cljs > (ns hello) > (defn ^:export greet [n] > (str "Hello " n)) > $ bin/cljsc hello.cljs '{:optimizations :advanced}' > hello.js > Aug 7, 2011 12:17:42 PM com.google.javascript.jscomp.LoggerErrorManager > println > WARNING: /Users/ataggart/projects/clojurescript/out/cljs/core.js:3564: > WARNING - dangerous use of the global this object > {return this.call(null,(args[0])); > ^ > > Aug 7, 2011 12:17:42 PM com.google.javascript.jscomp.LoggerErrorManager > println > WARNING: /Users/ataggart/projects/clojurescript/out/cljs/core.js:3566: > WARNING - dangerous use of the global this object > {return this.call(null,(args[0]),(args[1])); > ^ > > Aug 7, 2011 12:17:42 PM com.google.javascript.jscomp.LoggerErrorManager > printSummary > WARNING: 0 error(s), 2 warning(s) > > If so, it might be worth noting that in the quick start documentation lest > someone get worried. -- 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