Hey David, just noticed this exception when switching back to :whitespace optimizations but still having the :source-map entry active:
https://www.refheap.com/16171 After removing the :source-map from the project.clj compilation failed with this exception: https://www.refheap.com/16172 After running `lein cljsbuild clean` everything went back to normal. Cheers, Gerrit Am Mittwoch, 26. Juni 2013 13:35:55 UTC+2 schrieb David Nolen: > > That's great to hear. Will update documentation in the appropriate places. > > > On Wed, Jun 26, 2013 at 4:01 AM, <gerrit.h...@gmail.com <javascript:>>wrote: > >> Not sure why my previous post was deleted but anyway. >> >> Yeah, the source map didn't work as I've seen on some screenshots in >> tutorials, but the line numbers alone were good enough and very useful for >> finding that incompatible line. >> >> Documentation would definitely help as crawling through the commits >> trying to find a usage and then reading the lein-cljsbuild source to figure >> out if it can be enabled like that is a bit tedious :) >> >> Gerrit >> >> Am Mittwoch, 26. Juni 2013 05:11:23 UTC+2 schrieb David Nolen: >> > I recall it adding a significant amount of time to advanced compilation >> so I'm not sure that's such a good idea as a default. But documenting and >> advertising its existence in the proper places seems like a good idea. >> > >> > >> > >> > David >> > >> > >> > >> > On Tue, Jun 25, 2013 at 11:07 PM, Brandon Bloom <brandon...@gmail.com> >> wrote: >> > >> > Even if it's horribly broken, maybe we should default it to on for >> advanced builds anyway? It's not like anything can be harder to debug than >> raw advanced compilation output. Besides, we might get some more interest >> and contributions if it *feels* like it's close! >> > >> > >> > >> > On Tuesday, June 25, 2013 7:37:28 PM UTC-4, David Nolen wrote: >> > >> > Wow, really? I didn't really consider it usable yet as we don't emit >> quite enough information for mapping symbols. >> > >> > >> > >> > >> > >> > On Tue, Jun 25, 2013 at 7:14 PM, <gerrit.h...@gmail.com> wrote: >> > >> > >> > Thanks a lot for the source map support. Made it possible for me to >> find the cause of my broken advanced compiled cljs. Without the source map >> I was totally lost... >> > >> > >> > >> > >> > >> > In case anybody wonders how to enable it: >> > >> > >> > >> > Just add a :source-map "path/to/js/folder/source-map-name.js.map" key >> value pair to the :compiler map of your :cljsbuild map. >> > >> > >> > >> > -- >> > >> > >> > -- >> > >> > You received this message because you are subscribed to the Google >> > >> > Groups "Clojure" group. >> > >> > To post to this group, send email to clo...@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+u...@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 unsubscribe from this group and stop receiving emails from it, send >> an email to clojure+u...@googlegroups.com. >> > >> > >> > 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 clo...@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+u...@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 unsubscribe from this group and stop receiving emails from it, send >> an email to clojure+u...@googlegroups.com. >> > >> > 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 clo...@googlegroups.com<javascript:> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com <javascript:> >> 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 clojure+u...@googlegroups.com <javascript:>. >> 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 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.