Skip to content

Instantly share code, notes, and snippets.

Created November 5, 2013 09:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/7316593 to your computer and use it in GitHub Desktop.
bare minimum for cljs browser repl
(ns towr.core
(:require [clojure.browser.repl :as repl]))
(. js/console (log "Hello world!"))
(defn connect []
(repl/connect "http://localhost:9000/repl"))
(defn add [a b]
(+ a b))
(repl/connect "http://localhost:9000/repl")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment