-
-
Save ktsujister/6184513 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
<html> | |
<head> | |
</head> | |
<body> | |
<script type="text/javascript" src="/js/repl-test.js"></script> | |
</body> | |
</html> |
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
(defproject repl-test "0.1.0-SNAPSHOT" | |
:plugins [[lein-cljsbuild "0.3.2"]] | |
:cljsbuild { | |
:builds [{ | |
:source-paths ["src"] | |
:compiler { | |
:output-to "js/repl-test.js" | |
:optimizations :whitespace | |
:pretty-print true}}]}) |
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
(ns repl-test | |
(:require [clojure.browser.repl :as repl])) | |
(repl/connect "http://localhost:9000/repl") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
run cljsbuild
start cljs repl
open below on browser
try out browser repl. type in below in the repl that started by step#2