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

Consistent return in stopObserving() and fire() methods. #5606

Merged

Conversation

severyanov
Copy link
Contributor

Consistent return in stopObserving() and fire().
Methods are declared to be chainable and always return this reference, but in some cases return undefined.

Consistent return in stopObserving() and fire().
@asturur
Copy link
Member

asturur commented Apr 1, 2019

thanks!

@asturur
Copy link
Member

asturur commented Apr 1, 2019

A small test would probably expand line converage a bit and ensure no one breaks it again.

@asturur
Copy link
Member

asturur commented Apr 4, 2019

Any chance to add a small test?

@asturur
Copy link
Member

asturur commented May 3, 2019

i'll add the test and merge

@asturur asturur merged commit 4f972cf into fabricjs:master May 19, 2019
thiagocunha pushed a commit to thiagocunha/fabric.js that referenced this pull request Nov 18, 2019
Consistent return in stopObserving() and fire().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants