-
Notifications
You must be signed in to change notification settings - Fork 20.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core: change jQuery.each and jQuery#each signatures
- Loading branch information
Showing
1 changed file
with
10 additions
and
31 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
2380028
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.
When I read the commit subject in the log, I thought this was going to be a major breaking change rewriting
each()
to be more likemap()
😟 (or something like that).May wanna use a commit message more descriptive than "Change (something)", e.g. "Remove internal args argument" :)
2380028
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.
the document on the internet mostly say we could attach more parameters on $.each(),it took me some time to find that my jquery version is 1.12.4。Eventually i find this page and read the source 1.12.4 and 1.11.2 .
src is a good thing,maybe the best of the world ^_^