Commit Graph

18 Commits

Author SHA1 Message Date
Daniel Compton 6b21bfe714 Remove trailing spaces from console logging
console.log and family provide spaces between arguments, so we don't
need to add them in our console errors.
2016-08-22 16:06:15 +12:00
Mike Thompson dd8bc250fb Fix up interceptors and get rid of pesky warnings. 2016-08-19 00:20:03 +10:00
Mike Thompson baa61a3749 Complete rename from `do-effects` to `do-fx` 2016-08-16 13:00:52 +10:00
Mike Thompson 98d01a7c84 change name from `do-effects` to `do-fx`. More consistent. 2016-08-16 12:24:23 +10:00
Mike Thompson db9aa06de9 Comment wording 2016-08-13 13:17:47 +10:00
Mike Thompson ec08a824a1 Fix bug which meant unknown effects were silently ignored. 2016-08-12 13:18:59 +10:00
Mike Thompson c8659d6770 Version 0.8.0-alpha10 2016-08-08 15:30:38 +10:00
Mike Thompson 311367dc3d Change to Interceptors (away from middleware). This is a big code drop.
Tests pass and todomvc works.
But there is some ugliness to now resolve, and a couple of  unresolved issues.
2016-08-03 12:53:01 +10:00
Mike Thompson 358efc7091 Remove old todos 2016-07-27 22:34:04 +10:00
Mike Thompson c60e096d55 Correct bug in previous commit 2016-07-27 22:31:36 +10:00
Mike Thompson 29e3bfe145 Improve error strings. Use destructure 2016-07-27 22:26:22 +10:00
hipitihop e884dcadb6 Simplify :dispatch-later and only support single :dispatch 2016-07-27 16:03:29 +10:00
hipitihop 12f6eeee3c Change :dispatch-later fx handler now expects vector of {:ms ... :dispatch ...} & add unit test 2016-07-27 15:43:47 +10:00
hipitihop 6344d0a53c fx - check :dispatch effect val to be vector? & introduce new effect :dispatch-n for 2016-07-26 16:53:50 +10:00
Mike Thompson e47caa2f34 Improve comment 2016-07-26 11:42:02 +10:00
Mike Thompson f5175223d5 v0.8.0-alpha3 2016-07-24 17:13:15 +10:00
Mike Thompson 658f3b0232 Switch to using `reg-*` naming, instead of `def-*` naming 2016-07-24 17:08:09 +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