[ClojureScript] Refactoring for ClojureScript?

2016-07-07 Thread Linus Ericsson
Is it possible to run something like cljr clean ns [1] on ClojureScript source code? /Linus [1] https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-clean-ns -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message becaus

[ClojureScript] Using a cljs project in 'raw' JavaScript

2016-07-07 Thread Colin Yates
Hi all, Any tips for including the JavaScript from a cljs project in a non-cljs project? I have a rather unusual situation where I have: - util.jar (lots of .cljc files) - the infamous company-wide utility library - main.war - actually serves two UIs, one ClojureScript and one CoffeeScript us

Re: [ClojureScript] Using a cljs project in 'raw' JavaScript

2016-07-07 Thread David Nolen
Does goog.exportSymbol not work for your case? The transit-js project is a good example of how to make Closure targeted code be usable by regular JavaScript. It's really no different for ClojureScript. https://github.com/cognitect/transit-js/blob/620906704f9f6904745895878ad3228607836d31/src/com/co

Re: [ClojureScript] Using a cljs project in 'raw' JavaScript

2016-07-07 Thread Colin Yates
Thanks David, I will have a look. On 7 July 2016 at 18:26, David Nolen wrote: > Does goog.exportSymbol not work for your case? The transit-js project is a > good example of how to make Closure targeted code be usable by regular > JavaScript. It's really no different for ClojureScript. > > https:/