Commit Graph

390 Commits

Author SHA1 Message Date
mike-thompson-day8 7b0799c80f Split function. 2015-03-02 23:03:49 +11:00
mike-thompson-day8 f3bb482591 Add new API
- a noop middleware
   - a comp-middleware
2015-03-02 23:02:56 +11:00
hipitihop 76068c2cb9 - remove usage of historian & dependency
- update dependency to [re-frame "0.1.8"]
- use new register-pure-handler in all steps
NOTE: functional but daypart unit tests failing + history not yet working
2015-03-02 17:49:03 +10:00
mike-thompson-day8 dc74e017df No need to use ratoms, can use normal atoms. 2015-03-02 15:46:46 +11:00
mike-thompson-day8 406cbe261c Improve the output of debug middleware 2015-03-02 10:07:48 +11:00
mike-thompson-day8 3e7ed53f34 Expose debug middleware through API 2015-03-02 07:58:34 +11:00
mike-thompson-day8 6a3f2e4b74 Improve comments on handlers 2015-03-02 07:57:11 +11:00
mike-thompson-day8 56aecc0866 Add new debug middleware 2015-03-02 07:55:17 +11:00
mike-thompson-day8 3c43bd3cf4 Fix typo pointed out by @btheado cond -> conp 2015-03-01 09:06:54 +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
mike-thompson-day8 42d1d9e0e6 Further iteration on todomvc 2015-02-27 02:06:23 +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 0039cd651e Clarify Licence 2015-02-26 08:26:08 +11:00
mike-thompson-day8 00ba238b74 New middleware, mostly untested. 2015-02-25 22:03:47 +11: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
mike-thompson-day8 44b50e4feb Tweaks and cleanup 2015-02-25 12:51:30 +11:00
mike-thompson-day8 474b2e4bac Middleware now working. Bump to version 0.1.6 2015-02-25 11:43:10 +11:00
mike-thompson-day8 947de41d02 Back to compiling (removed namespace cycle) 2015-02-25 09:53:04 +11:00
mike-thompson-day8 ab7e613cbb Introduce new middleware DO NOT USE YET. THIS PUSH DOES NOT EVEN COMPILE 2015-02-25 08:58:55 +11:00
mike-thompson-day8 9f233f07b7 Change warning 2015-02-25 08:26:47 +11:00
mike-thompson-day8 031e9fde53 renaming and word fiddling 2015-02-25 00:26:49 +11:00
mike-thompson-day8 a8a1dcd890 Remove use of historian. An atom-watcher based approach complicates our life. Via middleware we will not explicitly snapshot. 2015-02-25 00:24:31 +11:00
mike-thompson-day8 a9c8d76e1e Tweaks mostly. 2015-02-22 22:28:40 +11:00
mike-thompson-day8 a3c88750e5 Re-work handlers, routers and dispatchers. More comments 2015-02-21 00:47:01 +11:00
mike-thompson-day8 7c1b48e3a6 Add ability to (dispatch [:flush-reagent]) 2015-02-20 16:46:40 +11:00
mike-thompson-day8 1fadc82700 Introduce a timeout into the router, so that the GUI gets a look in, if we have one event after another. 2015-02-18 19:43:50 +11:00
hipitihop 94748ad0dc - correct rgression off-the-record! caused by healdess git push fuffle
- move load-mwi subscriptions to subs.cljs
2015-01-06 16:50:50 +10:00
hipitihop 3a977a0242 Merge remote-tracking branch 'origin/master' 2015-01-06 16:06:00 +10:00
hipitihop 79e3f08d96 - convert :no-history-while from dispatch to direct call off-the-record! 2015-01-06 16:05:39 +10:00
Stuart Mitchell f442460905 added a dispatch-sync 2015-01-06 10:49:20 +13:00
mike-thompson-day8 d733c9c6b1 Make dispatch async.
WARNING: not tested.
2014-12-20 13:12:40 +11:00
hipitihop a46ab9b345 - remove handlers/get-in-db
- switch project back to [lein-cljsbuild "1.0.3"]
2014-12-16 12:34:27 +10:00
hipitihop bac24cfd37 - typo and temporary re-instate of get-in-db to get refactors and unit tests running 2014-12-16 11:48:41 +10:00
mike-thompson-day8 8654613087 Split handlers from subscriptions 2014-12-15 22:56:32 +11:00
mike-thompson-day8 84b25cab64 README WIP 2014-12-12 07:20:55 +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