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

Use Coffeescript conditional assignment shorthand #574

Merged
merged 2 commits into from
Apr 10, 2020
Merged

Use Coffeescript conditional assignment shorthand #574

merged 2 commits into from
Apr 10, 2020

Commits on Aug 21, 2019

  1. Use Coffeescript conditional assignment shorthand

    Because what we're assigning in the happy side of this condition is the
    same as what we're checking in its expression we can use Coffeescript's
    shorthand with the existential operator, i.e. instead of
    
        a = if b? then b else c
    
    use this:
    
        a = b ? c
    
    Source: https://coffeescript.org/#existential-operator
    sionleroux committed Aug 21, 2019
    Configuration menu
    Copy the full SHA
    92af7a6 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2020

  1. Configuration menu
    Copy the full SHA
    16986a6 View commit details
    Browse the repository at this point in the history