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

Cleanup and reorganize core and canvas helpers #4419

Merged
merged 1 commit into from
Jun 24, 2017

Conversation

simonbrunel
Copy link
Member

Move some of the "core" and "canvas" utils in helpers.core.js and helpers.canvas.js and introduce the new isNullOrUndef and isObject helpers. Deprecate indexOf and rename drawRoundedRectangle to roundedRect which now creates a simple rect path if radius is 0. Write missing unit tests for the moved helpers.

@simonbrunel simonbrunel added this to the Version 2.7 milestone Jun 24, 2017
@simonbrunel simonbrunel requested a review from etimberg June 24, 2017 09:54
Move some of the "core" and "canvas" utils in `helpers.core.js` and `helpers.canvas.js` and introduce the new `isNullOrUndef` and `isObject` helpers. Deprecate `indexOf` and rename `drawRoundedRectangle` to `roundedRect` which now creates a simple `rect` path if radius is 0. Write missing unit tests for the moved helpers.
@etimberg etimberg merged commit 5196e05 into chartjs:master Jun 24, 2017
@simonbrunel simonbrunel deleted the helpers-cleanup branch June 24, 2017 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants