Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Example using modified cljs-watch to compile generic clojure/clojurescript files.
Clojure
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
resources/public
src/generic_clojurescript_compile_example
src_cljs
.classpath
.gitignore
.project
README.md
project.clj

README.md

generic-clojurescript-compile-example

Minimal Noir website that uses a project layout to allow for generic usage of clj files in cljs compilation

the file test_generic.clj is used by both the server and the client

Usage

cljs-watch

lein deps
lein run

http://localhost:8888/welcome

Notes

  • you must use the modified form of cljs-watch found here https://github.com/davesann/cljs-watch (or similar)

  • The example uses pinot https://github.com/ibdknox/pinot. Please note that this requires that you clojurescript compiler uses the goog.jar supplied from there. This adds in a couple of extra files, in particular, for dom query. Instructions are supplied in the readme.

License

Copyright (C) 2011 Dave Sann

Distributed under the Eclipse Public License, the same as Clojure.

generic-clojurescript-compile-example

Minimal Noir website that uses a project layout to allow for generic usage of clj files in cljs compilation

the file test_generic.clj is used by both the server and the client

Usage

cljs-watch

lein deps
lein run

Note that you must use the modified form of cljs-watch found here https://github.com/davesann/cljs-watch (or similar)

License

Copyright (C) 2011 Dave Sann

Distributed under the Eclipse Public License, the same as Clojure.

Something went wrong with that request. Please try again.