Thanks for putting this together, Tom. I plan on moving away from the CrossPageChannel in Austin soon. I think SSEs and regular XHRs may be an easier path, but having the option of a websocket impl that I can refer to or use outright is great.

- Chas

On 02/18/2014 09:18 PM, Tom Jakubowski wrote:
Connecting a ClojureScript REPL to certain Javascript environments - like those served to a browser but not over HTTP, e.g. in a Chrome extension or Spotify application - is difficult or downright impossible given implementation details of existing ClojureScript REPL solutions. Weasel provides a WebSocket-based transport for a ClojureScript REPL that circumvents these limitations on modern browser platforms.

https://github.com/tomjakubowski/weasel

Namely, Weasel addresses an issue previously brought up on the Clojure mailing list a couple years ago: https://groups.google.com/forum/#!topic/clojure/lC8me2Gx_B4 <https://groups.google.com/forum/#%21topic/clojure/lC8me2Gx_B4>

Weasel is my first real Clojure or ClojureScript project so there are certainly some rough edges. Feel free to ping me with an email or on IRC (dsrx@freenode) if you need help or have found an issue.

Tom Jakubowski

P.S. I’m unsure of how I've licensed Weasel. I used the existing ClojureScript REPL code as a rough guide (as I needed to learn how it worked) to writing my own code for Weasel which I then released into the public domain. However, one file in particular (src/cljs/weasel/impls/websocket.cljs) was taken directly from some commented-out code in the CLJS source. I’m happy to re-assign copyright or re-license the rest of the project or do whatever else I need to if someone with more knowledge suggests I’ve screwed up the copyright/licensing.
--
Note that posts from new members are moderated - please be patient with your first post.
---
You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

--
Note that posts from new members are moderated - please be patient with your 
first post.
--- You received this message because you are subscribed to the Google Groups "ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to