Affects Version/s: None
Fix Version/s: None
In the lein-cljsbuild simple sample app, I enabled advanced compilation and changed the example.hello namespace to the following:
Then ran lein cljsbuild once, loaded the project in my browser (google chrome) and in the browser call example.hello.greet("me")
This results in an error, but not the one we expect. Instead we get TypeError: Object #<Console> has no method 'wb'.
This is because the log-exceptions function was compiled to the following. Notice how console.groupCollapsed has been renamed to console.wb.
I did a little more digging, and found this recent commit in the google closure history. It adds an extern to the list of default externs for groupCollapsed. It's pretty new (Jun 7) so presumably the clojurescript compiler is still using an older version.
I think all that needs to be done is to update the version of closure used?
As a workaround, add the two lines below to your externs file.