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

Address Child Blocks feedback #7012

Merged
merged 7 commits into from
May 30, 2018
Merged

Address Child Blocks feedback #7012

merged 7 commits into from
May 30, 2018

Conversation

noisysocks
Copy link
Member

Addresses various feedback left by @aduth on #6753.

@noisysocks noisysocks added this to the 3.0 milestone May 30, 2018
@noisysocks noisysocks requested a review from aduth May 30, 2018 04:22
Copy link
Member

@gziolo gziolo left a comment

Choose a reason for hiding this comment

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

👍

const SECONDS_PER_DAY = 24 * 3600;
const SECONDS_PER_WEEK = 7 * 24 * 3600;
const MILLISECONDS_PER_HOUR = 3600 * 1000;
const MILLISECONDS_PER_DAY = 24 * 3600 * 1000;
Copy link
Member

Choose a reason for hiding this comment

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

Nit, those constants can use previous declarations:

const MILLISECONDS_PER_DAY = 24 * MILLISECONDS_PER_HOUR;
const MILLISECONDS_PER_WEEK = 7 * MILLISECONDS_PER_DAY;

Copy link
Member

@aduth aduth left a comment

Choose a reason for hiding this comment

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

Thanks for considering the feedback 👍

@youknowriad youknowriad merged commit 65400ad into master May 30, 2018
@youknowriad youknowriad deleted the fix/child-blocks-feedback branch May 30, 2018 13:07
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