Fork me on GitHub
#clojurescript
<
2016-09-04
>
mfikes02:09:17

@stbgz: Bootstrapped ClojureScript delegates dependency loading to you, expecting you to provide a binding for cljs.js/*load-fn* that does whatever is appropriate for your runtime environment. I think that—if possible—supporting the concept of classpath has value in that it eases interoperating with the existing ClojureScript dependency ecosystem.

mac09:09:33

What is the cljs equivalent of "let pm = http://window.pm = new MonsterObject({foo: bar})"

anmonteiro11:09:44

@mac

(def pm (js/MonsterObject. #js {:foo bar}))
(set! (. js/window -pm) pm)