This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-10
Channels
- # admin-announcements (2)
- # alda (16)
- # beginners (22)
- # boot (55)
- # cider (11)
- # cljs-dev (5)
- # cljsrn (7)
- # clojure (115)
- # clojure-art (1)
- # clojure-finland (3)
- # clojure-greece (18)
- # clojure-madison (2)
- # clojure-norway (2)
- # clojure-poland (50)
- # clojure-russia (122)
- # clojure-uk (9)
- # clojurescript (28)
- # core-async (7)
- # cursive (4)
- # data-science (4)
- # datomic (65)
- # devcards (3)
- # dirac (91)
- # editors (7)
- # emacs (9)
- # hoplon (1)
- # jobs (5)
- # jobs-discuss (10)
- # juxt (2)
- # keechma (7)
- # ldnclj (31)
- # leiningen (3)
- # off-topic (22)
- # om (129)
- # om-next (1)
- # onyx (6)
- # proton (15)
- # protorepl (2)
- # re-frame (49)
- # reagent (13)
- # remote-jobs (1)
- # ring-swagger (2)
- # yada (19)
Is there a way to play with a library on the phone?
@grounded_sage: such as?
Was thinking like Replete or something online that can pull in libraries to fiddle with things
@grounded_sage: Unfortunately, Replete is not allowed to load code. 😞
Yea I had a feeling that would be the case. Was mostly hoping for a in browser solution. Would be great to be able to play with libraries in the browser. Like the Cljs / Cljc? (Can't remember acronym) libraries.
I'm trying to write a websocket client / server using httpkit. The client side is using goog.net.WebSocket. Has anyone run into the following problem using httpkit? Chrome: WebSocket connection to '<ws://localhost:3871/ws>' failed: Invalid frame header Firefox: The connection to <ws://localhost:3871/ws> was interrupted while the page was loading. this.webSocket_ = new WebSocket(this.url_); Thanks...
I'm trying to do a figwheel project, rather retrofit an old project and I can't get it to see the index.html. It was in resources/public, but I moved it out to the root. It doesn't seem to see it in the root directory. Ideas?
Actually, the quickstart doesn't sseem to work either, I swear I had this working recently
@base698: try localhost:port/index.html
after it's in resources/public
again
@anmonteiro: Finds the html, but not js files.
@base698: output to somewhere in public, maybe also specify asset-path
Try something like :output-dir "/path/you/want/js"
and :asset-path "/js"
:output-dir
tells ClojureScript what directory to use for temp files (e.g. js files, source maps, cache files) and :asset-path
translates from the url path to the server path (e.g.
-> ./resources/public/js
)
do i need to do something special in order to get source maps working with figwheel? i've read https://github.com/clojure/clojurescript/wiki/Source-maps, i have :source-map true in my relevant build's config, and each of my compiled .js files has a good-looking comment at the bottom (like eg //# sourceMappingURL=attack.js.map?rel=1457654023631 ). when i go to the file specified by that comment, i see some json that looks like it could be a source map
https://www.evernote.com/shard/s11/sh/5e514826-481f-4e28-b66a-bf0ed2a742d3/6d56bb7821ab75fe example of what i'm seeing