From 49da1083559e29c331cf8f4caa1f007d40f7a316 Mon Sep 17 00:00:00 2001 From: Dan Holmsand Date: Fri, 31 Jul 2015 17:51:33 +0200 Subject: [PATCH] Update and simplify geometry example --- examples/geometry/project.clj | 36 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/examples/geometry/project.clj b/examples/geometry/project.clj index 105d1df..62ad7e1 100644 --- a/examples/geometry/project.clj +++ b/examples/geometry/project.clj @@ -1,31 +1,29 @@ (defproject geometry-reagent "0.5.0" - :dependencies [[org.clojure/clojure "1.6.0"] - [org.clojure/clojurescript "0.0-2816"] + :dependencies [[org.clojure/clojure "1.7.0"] + [org.clojure/clojurescript "0.0-3308"] [reagent "0.5.0"] - [figwheel "0.2.3-SNAPSHOT"]] + [figwheel "0.3.7"]] - :plugins [[lein-cljsbuild "1.0.4"] - [lein-figwheel "0.2.3-SNAPSHOT"]] + :plugins [[lein-cljsbuild "1.0.6"] + [lein-figwheel "0.3.7"]] :hooks [leiningen.cljsbuild] :profiles {:dev {:cljsbuild - {:builds {:client {:source-paths ["devsrc"] - :compiler - {:main geometry.dev - :optimizations :none - :source-map true - :source-map-timestamp true}}}}} + {:builds {:client + {:figwheel {:on-jsload "geometry.core/run"} + :compiler {:main "geometry.core" + :optimizations :none}}}}} :prod {:cljsbuild - {:builds {:client {:compiler - {:optimizations :advanced - :elide-asserts true - :pretty-print false}}}}}} + {:builds {:client + {:compiler {:optimizations :advanced + :elide-asserts true + :pretty-print false}}}}}} :figwheel {:repl false} - :cljsbuild {:builds {:client {:source-paths ["src"] - :compiler - {:output-dir "target/client" - :output-to "target/client.js"}}}}) + :cljsbuild {:builds {:client + {:source-paths ["src"] + :compiler {:output-dir "target/client" + :output-to "target/client.js"}}}})