Skip to content

Conversation

@gibson042
Copy link
Member

  • Return the new value from set(owner, key, value).
  • Use set(owner, key, value) rather than access(owner, key, value).

Summary

Improvements noticed in passing.

main @88690ebfc8b5ef8b1e444326c664b590ecc0b888
   raw     gz Filename
   -44    -17 dist/jquery.min.js
   -35    -16 dist/jquery.slim.min.js
   -44    -21 dist-module/jquery.module.min.js
   -35    -15 dist-module/jquery.slim.module.min.js

Checklist

* Return the new value from `set(owner, key, value)`.
* Use `set(owner, key, value)` rather than `access(owner, key, value)`.
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.

Nice!

@timmywil timmywil merged commit 805cdb4 into jquery:main Jan 23, 2024
@timmywil timmywil added this to the 4.0.0 milestone Feb 6, 2024
@timmywil timmywil added the Data label Feb 6, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

2 participants