David,
thank you for all improvements and work you do for ClojureScript!
Could you please write few examples how to take advantage of new unified
source-map support? I tried 0.0-2816 with node.js without success. I tried with
piggieback and without. But the only solution was with 'npm install
source-map-support' (I guess this is not the unified support you wrote about).
Even with source-map-support I got errors to console (see below).
1) Is new unified source-map support compatible with piggieback/cider or is
some modification required?
2) Is {:source-map true} enough for unified source-mapping support? Does it
work OOTB or is there any hidden switch?
Thank you,
Dan
TypeError: Cannot call method 'cljs$core$IPrintWithWriter$_pr_writer$arity$3'
of undefined
at [object Error].pr_str_STAR_ [as toString]
(/home/0rfelyus/prace/cryptelo/target/cljs-repl-node/cljs/core.cljs:441:17)
at Function.prepareStackTrace
(/home/0rfelyus/prace/cryptelo/node_modules/source-map-support/source-map-support.js:298:16)
at Socket.<anonymous> ([stdin]:48:31)
at Socket.emit (events.js:95:17)
at Socket.<anonymous> (_stream_readable.js:748:14)
at Socket.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:410:10)
at emitReadable (_stream_readable.js:406:5)
at readableAddChunk (_stream_readable.js:168:9)
at Socket.Readable.push (_stream_readable.js:130:10)
On Tuesday, February 10, 2015 at 1:47:31 AM UTC+1, David Nolen wrote:
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
>
> README and source code: https://github.com/clojure/clojurescript
>
>
> New release version: 0.0-2814
>
>
> Leiningen dependency information:
>
>
> [org.clojure/clojurescript "0.0-2814"]
>
>
> There are numerous enhancements in this release including: a Nashorn
> REPL, Node.js 0.12 support, cljs.test async testing support,
> `cljs.closure/watch`, extra JSDoc annotation support, unified source
> mapping on client/server (thus REPLs!), and many small fixes.
>
>
> I'm particularly excited about unified source mapping as this means we
> get a much better debugging experience on newer targets (for us) like iOS,
> see https://github.com/omcljs/ambly
>
>
> ## 0.0-2814
>
>
> ### Enhancements
> * add simple source directory `cljs.closure/watch` watcher using java.nio
> * CLJS-1022: Concatenate foreign dependencies safely
> * CLJS-988: Support async testing in cljs.test
> * CLJS-1018: Add support for cljs.core/*e Modify the JavaScript that is sent
> for evaluation to wrap in a try and then catch any exception thrown, assign
> it to *e, and then rethrow.
> * CLJS-1012: Correct behavior when *print-length* is set to 0
> * Added new :closure-extra-annotations compiler option allowing to define
> extra JSDoc annotation used by closure libraries.
> * Mirrored source map support APIs on server/client
> * Unified source mapping support in REPLs
> * Nashorn REPL (thanks Pieter van Prooijen)
>
>
> ### Fixes
> * CLJS-1023: regression, macro-autoload-ns? and ns-dependents need to throw
> on cyclic dependencies
> * fix require with browser REPL, set base path to "goog/"
> * CLJS-1020: off by one error in REPL source map support
> * Node.js 0.12 support
> * browser REPL needs to respect :output-dir
> * CLJS-1006: Implicit dependency of clojure.browser.repl on cljs.repl
> * CLJS-1005: Browser REPL creates 'out' directory no matter what
> * CLJS-1003: fix cljs.test run-tests do-report :summary issues
> * CLJS-1003: Cannot pass custom env to run-tests
> * Windows Node.js REPL issues
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.