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

Show valid date range in initial view #258

Merged
merged 3 commits into from
Dec 14, 2015
Merged

Show valid date range in initial view #258

merged 3 commits into from
Dec 14, 2015

Conversation

rafeememon
Copy link
Contributor

Fixes #209

If minDate is after the current date, the focus is set to minDate, and if maxDate is before the current date, the focus is set to maxDate.

]
],
resolve: {
extensions: ["", ".jsx", ".js"]
Copy link
Member

Choose a reason for hiding this comment

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

Not sure what this actually does, but do you need to add "" here? Or does [".jsx", ".js"] work too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding "" makes it so files required with their extension (e.g. import "./calendar.jsx") can be resolved. It's a default in webpack and I figured it would be good to keep around.

For reference: https://webpack.github.io/docs/configuration.html#resolve-extensions

Copy link
Member

Choose a reason for hiding this comment

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

Adding @RSO here since he did the initial Karma setup.

@RSO
Copy link
Contributor

RSO commented Dec 14, 2015

Apart from that small stylistic suggestion this looks good to me!

martijnrusschen added a commit that referenced this pull request Dec 14, 2015
@martijnrusschen martijnrusschen merged commit 0625722 into Hacker0x01:master Dec 14, 2015
@martijnrusschen
Copy link
Member

Thanks!

@rafeememon
Copy link
Contributor Author

Awesome, thanks for the CR!

@rafeememon rafeememon deleted the bugfix/valid-date-initial-view branch December 14, 2015 11:13
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.

3 participants