-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Replace deprecated 'arguments.callee' #2878
Conversation
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.
LGTM, just few small changes needed.
Also, I think you can get rid of // Replaced arguments.callee (#2741)
comments, since in this case they are not necessary.
Rebased on latest |
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.
There is still one .callee
used in the code - https://github.com/ckeditor/ckeditor-dev/blob/4a9cd5e67e1d5da7406f62bc2ae01a536a008508/adapters/jquery.js#L163.
Please, remember that when PR targets major
version, the changelog entry should be placed under upcoming major section in CHANGES.md
(here it is 4.12
, and it always follows the A.B
convention). For minor
it should be under minor section (which is now 4.11.4
, and follows the A.B.C
convention). I fixed it in 419f97b.
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.
Just one small detail to fix.
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.
LGTM👍
What is the purpose of this pull request?
Replacement of deprecated code.
Does your PR contain necessary tests?
Tests already in place.
This PR contains
What changes did you make?
Replaced 'arguments.callee' in 5 files, mostly using named function expressions.
Closes #2741.