Created
December 24, 2015 18:57
-
-
Save noisesmith/8127c7e3540c6333f9f3 to your computer and use it in GitHub Desktop.
This file contains 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 client (:require [world :refer [map->World]])) | |
(map->World {}) |
This file contains 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
$ rlwrap java -cp ~/bin/cljs.jar:. clojure.main | |
Clojure 1.7.0 | |
user=> (require 'cljs.build.api) | |
nil | |
user=> (cljs.build.api/build "." {}) | |
"goog.addDependency(\"base.js\", ['goog'], []);\ngoog.addDependency(\"../cljs/core.js\", ['cljs.core'], ['goog.string', 'goog.object', 'goog.string.StringBuffer', 'goog.array']);\ngoog.addDependency(\"../world.js\", ['world'], ['cljs.core']);\ngoog.addDependency(\"../client.js\", ['client'], ['cljs.core', 'world']);\n" | |
user=> |
This file contains 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 world) | |
(defrecord World []) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment