Skip to content

Commit

Permalink
Actually destructure prevent-default-when-no-match?
Browse files Browse the repository at this point in the history
  • Loading branch information
wavejumper committed Aug 28, 2017
1 parent 5a0f6f0 commit 059ab8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pushy/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
* match-fn: the function used to check if a particular route exists
* identity-fn: (optional) extract the route from value returned by match-fn"
[dispatch-fn match-fn &
{:keys [processable-url? identity-fn]
{:keys [processable-url? identity-fn prevent-default-when-no-match?]
:or {processable-url? processable-url?
identity-fn identity
prevent-default-when-no-match? (constantly false)}}]
Expand Down

0 comments on commit 059ab8c

Please sign in to comment.