Skip to content

Conversation

@nicolaskruchten
Copy link
Contributor

No description provided.

@nicolaskruchten nicolaskruchten requested a review from dmt0 October 22, 2018 17:39
@VeraZab
Copy link
Contributor

VeraZab commented Oct 22, 2018

💃

if (isNumeric(value)) {
if (direction === 'increase') {
valueUpdate = parseFloat(value) + step;
if (stepmode === 'absolute') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one just screams "ternary expression" :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair enough :)

@dmt0
Copy link
Contributor

dmt0 commented Oct 22, 2018

💃

@nicolaskruchten nicolaskruchten merged commit 6c2385d into master Oct 22, 2018
@nicolaskruchten nicolaskruchten deleted the adaptive_numeric branch October 22, 2018 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants