Skip to content

a project to test Clojurescript's new UMD loading support

Notifications You must be signed in to change notification settings

thosmos/cljs-d3-umd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cljs-d3-umd

This is a quick test of ClojureScript's new support for auto-loading UMD javascript modules like D3 (based on Maria Geller's example from her blog).

You can test the result by opening target/index.html in a browser.

At this time of writing, the latest Clojurescript v.1.7.132 that supports UMD loading is not on clojars, so you may need to build it from source, which will also install it in the local maven repo:

$ git clone [email protected]:clojure/clojurescript.git
$ cd clojurescript
$ ./script/build

This project uses Boot https://github.com/boot-clj/boot to build and run.

boot dev

And if you'd like a browser repl, open another console and do:

boot repl -c
(start-repl)

Copyright © 2015 Thomas Spellman

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

a project to test Clojurescript's new UMD loading support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published