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

[transitions] Fix allowing fraction numbers as delay/duration #6221

Merged
merged 1 commit into from
Feb 22, 2017

Conversation

ArcanisCz
Copy link
Contributor

Fixes #6212

@@ -33,6 +33,10 @@ const durationInternal = {
leavingScreen: 195,
};

const formatMs = (miliseconds) => `${Math.round(miliseconds)}ms`;
const isString = (value) => typeof value === 'string';
const isNumber = (value) => !isNaN(parseFloat(value));
Copy link
Member

Choose a reason for hiding this comment

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

@oliviertassinari
Copy link
Member

@ArcanisCz Thanks.

@oliviertassinari oliviertassinari changed the title [transitions] fix allowing fraction numbers as delay/duration [transitions] Fix allowing fraction numbers as delay/duration Feb 26, 2017
@ArcanisCz ArcanisCz deleted the bugfix/durationNumber branch July 16, 2017 15:14
@zannager zannager added the docs Improvements or additions to the documentation label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants