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

fix(context): ⚓ Removes argument to getters #47

Merged
merged 1 commit into from
Oct 1, 2019
Merged

fix(context): ⚓ Removes argument to getters #47

merged 1 commit into from
Oct 1, 2019

Conversation

favorable-mutation
Copy link

The __get* methods on the CanvasRenderingContext2D class currently take an unnecessary ctx argument. This is inconsistent with both the README and the TypeScript interface's documentation of these methods. This change removes the argument and updates the tests to match.

The `__get*` methods on the CanvasRenderingContext2D
class currently take an unnecessary `ctx` argument.
This is inconsistent with both the README and the
TypeScript interface's documentation of these
methods. This change removes the argument and updates
the tests to match.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling ef97629 on favorable-mutation:master into 66a7986 on hustcc:master.

@jtenner
Copy link
Collaborator

jtenner commented Oct 1, 2019

LGTM. It's a small change, but stuff like this matters a lot. @hustcc ?

@jtenner jtenner self-requested a review October 1, 2019 14:58
@hustcc hustcc merged commit e3e5f6e into hustcc:master Oct 1, 2019
@hustcc
Copy link
Owner

hustcc commented Oct 9, 2019

v2.1.2 released

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