Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor internal functions to use opts map #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 19, 2015

  1. Refactor internal functions to use opts map

    Many internal functions had two or three arguments for customizing
    behavior. Since we'd like to be able to add more customization in the
    future, condensing these into an options map seems like a good move.
    
    One subtle difference introduced is that the functions which previously
    read a :date-format value from a map and used `or` to determine whether
    to used the default-date-format, now use `merge` and so have different
    behavior if the `:date-format` key is present but `nil`. I'm assuming
    this will be fine.
    gfredericks committed Sep 19, 2015
    Configuration menu
    Copy the full SHA
    4617ae7 View commit details
    Browse the repository at this point in the history