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

All: Updates for jQuery 1.12/2.2-3.5 #1160

Merged
merged 1 commit into from
Apr 29, 2020
Merged

All: Updates for jQuery 1.12/2.2-3.5 #1160

merged 1 commit into from
Apr 29, 2020

Conversation

mgol
Copy link
Member

@mgol mgol commented Apr 20, 2020

This has many changes but the ones on which I'd focus the most during reviews are:

  • New categories for jQuery 3.5 but also older versions
  • even/odd docs, removal of :even/:odd usage on API pages
  • addClass/removeClass/toggleClass: array input signature + examples
  • htmlPrefilter: rewritten, examples removed. The previous example of a more thorough check still wasn't covering all the cases so I didn't want people to have an impression this can be done securely like that.

Fixes #947
Fixes #949
Fixes #950
Fixes #1142
Ref #970
Ref #972

@mgol mgol requested review from dmethvin, timmywil and gibson042 April 20, 2020 16:02
@dmethvin dmethvin mentioned this pull request Apr 20, 2020
7 tasks
Copy link
Member

@dmethvin dmethvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, awesome! 👏 This cleans up a lot of docs debt!

entries/even.xml Outdated Show resolved Hide resolved
entries/jQuery.ajax.xml Outdated Show resolved Hide resolved
entries/jQuery.getScript.xml Outdated Show resolved Hide resolved
entries/odd.xml Outdated Show resolved Hide resolved
@mgol
Copy link
Member Author

mgol commented Apr 23, 2020

@dmethvin Thanks for feedback! I addressed all your comments.

@kswedberg
Copy link
Member

This is fantastic, @mgol . Thank you!!

@@ -22,7 +22,7 @@
</argument>
</signature>
<signature>
<added>1.12/2.2</added>
<added>1.12-2.2</added>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the dash necessary? This implies that all the versions between 1.12 and 2.2 are involved.

Copy link
Member

@timmywil timmywil Apr 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand the / doesn't work, but what about a +, space, &, or |?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neither of these work, unfortunately. :( Neither does _ or ,. The checks there are pretty restrictive...

I went for 1.12-and-2.2. Not pretty but perhaps clearer that what we have now.

Copy link
Member

@timmywil timmywil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment. Otherwise, LGTM.

@mgol mgol merged commit 13b661b into jquery:master Apr 29, 2020
@mgol mgol deleted the jquery-3.5.0 branch April 29, 2020 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants