Commit Graph

14 Commits

Author SHA1 Message Date
mike-thompson-day8 d49bb49fd3 Rename register-pure-handler 2015-03-05 10:40:02 +11:00
mike-thompson-day8 3540d7da9d Split handlers.cljs in two, creating router.cljs 2015-03-05 00:00:36 +11:00
mike-thompson-day8 95de45a252 WIP 2015-03-03 01:03:09 +11:00
mike-thompson-day8 f5df77163b Middleware can now be supplied as a vector (containing nils, which are ignored). This is going to make generating middleware much easier.
For example, Debug middleware can now more easily be conditionally added and removed.
2015-03-03 00:10:05 +11:00
mike-thompson-day8 f3bb482591 Add new API
- a noop middleware
   - a comp-middleware
2015-03-02 23:02:56 +11:00
mike-thompson-day8 3e7ed53f34 Expose debug middleware through API 2015-03-02 07:58:34 +11:00
mike-thompson-day8 1d2ffb0d4f Rename apply-event to trim-v, allow handler to get vector of middleware 2015-02-27 02:07:35 +11:00
Stuart Mitchell 6e430b0ca7 reverted middleware order 2015-02-26 16:24:50 +13:00
Stuart Mitchell 6a776faa82 fixes 2015-02-26 15:41:50 +13:00
mike-thompson-day8 e548759fe6 new core 2015-02-25 22:03:25 +11:00
mike-thompson-day8 faf340573f Create a core which carries the API 2015-02-25 22:03:02 +11:00
mike-thompson-day8 16b4efa3fd New middleware, largely untested 2015-02-25 21:51:38 +11:00
hipitihop d37f86989a - add re-frame as a project dependency
- move model/db , handlers & history from dj-scratchpad to re-frame
- introduce priviliged protocol history/reset-history! and call from bootstrap
- convert all requires to use new re-frame/handlers
- introduce demo.bootstrap to init system and trigger handler registrations (removed redundant requires elsewhere).
- call bootsrap from main.cljs
- update unit tests
2014-12-11 18:24:19 +10:00
mike-thompson-day8 5692a6f485 WIP 2014-12-08 14:48:59 +11:00