Last active
August 29, 2015 14:16
-
-
Save skrat/3643b30efb5bb233e5ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; CLJ | |
(defn browser-repl [] | |
(let [repl-env (weasel/repl-env :ip "0.0.0.0" :port 9001)] | |
(piggieback/cljs-repl :repl-env repl-env) | |
(piggieback/cljs-eval {} repl-env '(in-ns 'sketcher.core) {}))) | |
;; CLJS | |
(weasel/connect "ws://localhost:9001" :verbose true :print #{:repl :console}) | |
;; project.clj | |
:foreign-libs [{:file "node_modules/pixi.js/bin/pixi.js" | |
:provides ["PIXI"]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment