Commit Graph

4 Commits

Author SHA1 Message Date
Mike Thompson 9f61691279 Add helpful warnings when post event callback fns find a problem 2016-07-28 16:37:57 +10:00
Mike Thompson e2034f4576 Allow registration and de-registration of post event callbacks via an id. 2016-07-28 14:50:39 +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