Commit Graph

6 Commits

Author SHA1 Message Date
Mike Thompson ff2b712379 Add a further check to subs 2016-08-18 11:58:33 +10:00
Daniel Compton 46b85b1862 Call next-tick with a bound-fn to carry bindings across 2016-08-17 10:29:25 +12:00
Sam Roberton 60fa4bf5e1 Keep JVM thread bindings on next-tick
... to enable clojure.test reporting to identify the current test.
2016-08-10 09:40:06 +10:00
Sam Roberton b4d915c395 CLJC bugfix: IAtom is an interface, not a protocol 2016-07-21 17:08:01 +10:00
Sam Roberton 951682db81 CLJC: address (some of) Daniel's review comments 2016-07-21 12:42:25 +10:00
Sam Roberton cc33fe5a95 First pass at converting to CLJC for JVM testing
Note that the goal of using CLJC here is to enable writing and running
`deftest`s in JVM Clojure to test your (CLJS) re-frame app.  Actually
running a re-frame app as a meaningful thing on the JVM (other than for
tests) is explicitly *not* a goal.

- All files renamed *.cljs -> *.cljc
- New `re-frame.interop` ns for stuff that's different between CLJS and
  JVM Clojure, including Reagent interop.
- Other CLJS incompatibilities (eg `catch :default` and `deftype`'s
  `^:mutable` vs `^:volatile-mutable`) are handled with reader
  conditionals in-place.
2016-07-20 19:19:56 +10:00