public
Last active

  • Download Gist
core.cljs
Clojure
1 2 3 4
(ns hello-world-cljs.core
(:require [garden.core :refer [css]]))
 
(. js/console (log "Hello world!"))
exception.txt
1 2 3 4 5 6 7 8 9
Uncaught Error: Undefined nameToPath for garden.types.CSSAtRule base.js:619
visitNode base.js:619
visitNode base.js:617
visitNode base.js:617
visitNode base.js:617
visitNode base.js:617
goog.writeScripts_ base.js:633
goog.require base.js:342
(anonymous function)
project.clj
Clojure
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
(defproject hello-world-cljs "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
 
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-1978"]
[garden "1.1.3"]]
 
:plugins [[lein-cljsbuild "0.3.4"]]
 
:source-paths ["src"]
 
:cljsbuild {
:builds [{:id "hello-world-cljs"
:source-paths ["src"]
:compiler {
:output-to "hello_world_cljs.js"
:output-dir "out"
:optimizations :none
:source-map true}}]})

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.