reverted middleware order

This commit is contained in:
Stuart Mitchell 2015-02-26 16:24:50 +13:00
parent 6a776faa82
commit 6e430b0ca7
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
(def dispatch handlers/dispatch)
(def dispatch-sync handlers/dispatch-sync)
(def register-sub subs/register)
(def register-sub subs/register)
(def subscribe subs/subscribe)
@ -32,4 +32,4 @@
([id handler]
(register-handler id pure handler))
([id middleware handler]
(register-handler id (comp middleware pure) handler)))
(register-handler id (comp pure middleware) handler)))