Merge pull request #100 from thenonameguy/patch-2

Use if-not instead of (if (not))
This commit is contained in:
Daniel Compton 2015-09-12 20:27:35 +12:00
commit 2720b27e4c
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
[handler] [handler]
(fn pure-handler (fn pure-handler
[app-db event-vec] [app-db event-vec]
(if (not (satisfies? IReactiveAtom app-db)) (if-not (satisfies? IReactiveAtom app-db)
(do (do
(if (map? app-db) (if (map? app-db)
(warn "re-frame: Looks like \"pure\" is in the middleware pipeline twice. Ignoring.") (warn "re-frame: Looks like \"pure\" is in the middleware pipeline twice. Ignoring.")