Dan Holmsand 163308a392 Make site and examples work with ClojureScript 2816
ClojureScript all of a sudden complains about "single segment
namespaces", which forces a rather massive reorg.

Also, cljs.test/run-tests is broken.
2015-02-10 14:35:12 +01:00

20 lines
466 B
Clojure

(ns ^:figwheel-always reagentdemo.dev
(:require [reagentdemo.core :as demo]
[reagenttest.runtests :as runtests]
[reagent.core :as r]
[figwheel.client :as fw]))
(when r/is-client
(fw/start
{:websocket-url "ws://localhost:3449/figwheel-ws"}))
(defn test-results []
[runtests/test-output-mini])
(defn start! []
(demo/start! {:test-results test-results})
(when r/is-client
(runtests/run-tests)))
(start!)