-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94df7d7
commit 804433e
Showing
1 changed file
with
0 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
804433e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was dead for a reason for contributors who are still used to the old method. This gave a much better error message than "undefined is not a function". Just leave this in for a couple of months. Doesn't hurt anybody.
804433e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the confirmation, I have assumed that it was the reason it was kept for. I don't think that outside of both of us, any contributors will be impacted. But happy to keep it if you think strongly. My main fear is that we will forget about it. It will confuse new developers looking at the class.
804433e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is confusing about this? It's a method that recommends using another one. Why? Ask
git blame
. That is not something that is outside of the realm of learnable things.