Commit Graph

302 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 8cf42f57f5 Version 0.8.0 2016-08-19 18:20:21 +10:00
Mike Thompson cd55814cdf Undo previous stupidity 2016-08-19 15:41:56 +10:00
Mike Thompson 0514e06d0c Put in the right magic around `:advanced` Dead Code Elimination 2016-08-19 15:07:06 +10:00
Mike Thompson dd8bc250fb Fix up interceptors and get rid of pesky warnings. 2016-08-19 00:20:03 +10:00
Mike Thompson 3dc5c728c6 Ensure we get DCE (Dead code Elimination) 2016-08-18 23:27:52 +10:00
Mike Thompson bfb7da0e71 Remove private from registrar (we now need to access it in core to create restore function) 2016-08-18 17:13:53 +10:00
Mike Thompson 6f45cfc7c2 Subscription cache needed elsewhere, so no longer private 2016-08-18 11:58:42 +10:00
Mike Thompson 4bf54da69b Add make-restore-fn. I still need to figure out subscriptions. 2016-08-18 11:58:41 +10:00
Mike Thompson ca9513d0e7 Minor subs cleanup 2016-08-18 11:58:40 +10:00
Mike Thompson 3a8abed723 Clearer derefing of signals 2016-08-18 11:58:39 +10:00
Mike Thompson 49581cd96e Swap to using `:id` instead of `:name` (I thought I done this earlier) 2016-08-18 11:58:37 +10:00
Mike Thompson d10e87a279 Use help function more consistently 2016-08-18 11:58:36 +10:00
Mike Thompson 40c8e12426 LocalStore opens up a can of worms around dependencies (transit, reader, etc). Remove for the moment. 2016-08-18 11:58:35 +10:00
Mike Thompson 00891fd083 Improve comment 2016-08-18 11:58:35 +10:00
Mike Thompson 06d8fccf89 Interceptors now have an `id` and not a `name`. Code now matches the docs. 2016-08-18 11:58:34 +10:00
Mike Thompson ff2b712379 Add a further check to subs 2016-08-18 11:58:33 +10:00
Mike Thompson 22c9f7cfe4 Improve re-sub error messages 2016-08-18 11:58:33 +10:00
hipitihop a2001f2c27 comment typo 2016-08-18 11:20:03 +10:00
Daniel Compton 46b85b1862 Call next-tick with a bound-fn to carry bindings across 2016-08-17 10:29:25 +12:00
Mike Thompson baa61a3749 Complete rename from `do-effects` to `do-fx` 2016-08-16 13:00:52 +10:00
Mike Thompson 4f2f772afd The function `coeffect` is renamed to `inject-cofx`.
When writing the docs I found that sentences had too many mentions of `coeffects` with different meanings, which was confusing.  With this change, I remove one possible meaning of `coeffect` and, in the process I end up with a clearer name anyway.
2016-08-16 12:30:01 +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 c50ba86cd4 Remove deprecation warning on `reg-event`. It was only there for intermediate alpha releases. 2016-08-16 12:23:22 +10:00
Mike Thompson db9aa06de9 Comment wording 2016-08-13 13:17:47 +10:00
Mike Thompson 6d3acf2c08 Add get-hander arity which returns an entire kind 2016-08-12 13:19:48 +10:00
Mike Thompson ec08a824a1 Fix bug which meant unknown effects were silently ignored. 2016-08-12 13:18:59 +10:00
Mike Thompson add6b79168 Improve comment 2016-08-10 18:25:45 +10:00
Mike Thompson b7deb29f84 Move comment and readjust format. 2016-08-10 18:25:44 +10: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
Mike Thompson 486c7e61ee Slight rework of `debug` interceptor 2016-08-09 19:26:03 +10:00
Mike Thompson c891b784e8 Correct bug in example code 2016-08-09 19:25:26 +10:00
Mike Thompson 69c396c793 Start tranistion to always call first `-fx` parameter `coeffects`, not `world`. 2016-08-09 19:24:32 +10:00
Mike Thompson e45fd8b858 If debug interceptor was "to the left" of path, debug would not show correct diffs. Make path reinstate effect to fix this. 2016-08-09 19:22:15 +10:00
Alan Leal 28afe57b96 fixes typo in log level warn (#190) 2016-08-09 12:18:22 +12:00
Mike Thompson a475767ce0 More consistent naming 2016-08-08 23:15:26 +10:00
Mike Thompson 6a172ddbe0 Fix bug identified by @samroberton https://github.com/Day8/re-frame/pull/189 2016-08-08 23:10:41 +10:00
Mike Thompson c8659d6770 Version 0.8.0-alpha10 2016-08-08 15:30:38 +10:00
Mike Thompson f78541af59 Split clj and cljs code into more distinct sections, rather than have them interspersed. 2016-08-04 22:20:23 +10:00
Mike Thompson fe6148a554 Comment fiddling 2016-08-04 22:19:25 +10:00
Mike Thompson 3ecfbcd41c Add note on registrar needs. 2016-08-04 22:19:04 +10:00
Mike Thompson 2c7812374d Make interceptor API available. I find I need to use it in the undo library. 2016-08-04 22:18:43 +10:00
Mike Thompson 4ade89c74e rework implementation of subscriptions 2016-08-04 17:08:08 +10:00
Mike Thompson d70c8c2c5e No longer remembering dispatch stack 2016-08-04 11:15:58 +10:00
Mike Thompson 139e27c706 Colocate TODOs 2016-08-03 18:40:38 +10:00
Mike Thompson d3ffbf1415 Remove completed todos 2016-08-03 18:39:39 +10:00
Mike Thompson fbbcfc165b Improve deprecation messages. 2016-08-03 18:09:53 +10:00
Mike Thompson ea2dbff974 Work on Changes.md 2016-08-03 17:36:18 +10:00
Mike Thompson 5d87acbd3e Fix up ctx registration 2016-08-03 17:35:49 +10:00
Mike Thompson e527deea99 Add deprecation for reg-event. 2016-08-03 17:35:17 +10:00