Fork me on GitHub
#clojurescript
<
2017-12-30
>
debamitro00:12:39

Is there any way in cljs to generate a JS object which has literals only, e.g. { width: 800 }? Using clj->js does the job but generates long complicated JS method calls

noisesmith00:12:17

#js{:width 800}

johnjelinek03:12:21

how do I get this to connect over https?

(ns repl.foo
  (:require [clojure.browser.repl :as repl]))
(repl/connect "")

johnjelinek03:12:26

I end up with:

Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ''. This request has been blocked; the content must be served over HTTPS.

johnjelinek04:12:28

also, is there a good way to turn on CORS with the browser REPL?

johnjelinek05:12:36

I wonder why the sourcemaps for this line didn't show up in the chrome inspector

alexisvincent13:12:41

Hi guys, I’m running figwheel. But every other reload/eval takes an extra for seconds. As far as I can tell, this happens when I add a lib to the :npm-deps compiler option. Any thoughts on how to get around this? Maybe a way to not recompile npm-deps or something?