From 4d00b44c7c84c753ee8b3c5334ad5454cf095057 Mon Sep 17 00:00:00 2001 From: Dan Holmsand Date: Wed, 14 Oct 2015 16:09:02 +0200 Subject: [PATCH] Update ClojureScript to 1.7.145 --- project.clj | 12 +++++++----- src/reagent/ratom.cljs | 5 ++++- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/project.clj b/project.clj index 0f3673b..1cd80c3 100644 --- a/project.clj +++ b/project.clj @@ -4,7 +4,7 @@ :description "A simple ClojureScript interface to React" :dependencies [[org.clojure/clojure "1.7.0"] - [org.clojure/clojurescript "1.7.48"] + [org.clojure/clojurescript "1.7.145"] [cljsjs/react-dom "0.14.0-0"]] :plugins [[lein-cljsbuild "1.1.0"] @@ -16,7 +16,9 @@ :exclude clojure.string} :profiles {:test {:cljsbuild - {:builds {:client {:source-paths ["test"]}}}} + {:builds {:client {:source-paths ["test"] + :compiler + {:main "reagenttest.runtests"}}}}} :dev [:test {:dependencies [[figwheel "0.4.0"]] @@ -28,8 +30,7 @@ {:builds {:client {:figwheel {:on-jsload "reagenttest.runtests/reload"} - :compiler {:main "reagenttest.runtests" - :source-map true + :compiler {:source-map true :source-map-timestamp true :optimizations :none :output-dir "outsite/public/js/out" @@ -47,6 +48,7 @@ {:compiler {:optimizations :advanced :elide-asserts true :pretty-print false + :main "reagentdemo.core" ;; :pseudo-names true :output-dir "target/client"}}}}}] @@ -59,7 +61,7 @@ :provides ["cljsjs.react.dom" "cljsjs.react"]}]}}}}} - :prod-test [:test :prod] + :prod-test [:prod :test] :dev-notest [:dev {:cljsbuild diff --git a/src/reagent/ratom.cljs b/src/reagent/ratom.cljs index 72658b3..9d5f04a 100644 --- a/src/reagent/ratom.cljs +++ b/src/reagent/ratom.cljs @@ -554,7 +554,10 @@ -(comment +#_(do + ;; Workaround for cljs bug + (when (exists? js/process) + (set! (.-hrtime js/process) (aget js/process "hrtime"))) (defn ratom-perf [] (dbg "ratom-perf") (set! debug false)