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

Improve constrain #7544

Open
wants to merge 73 commits into
base: dev-2.0
Choose a base branch
from
Open

Conversation

luizbills
Copy link

Changes:

  • Make constrain() more readable: c73e396

  • Reduce some bytes of the minified bundle.

// current constrain() minified
constrain=function(e,t,r){return i.default._validateParameters("constrain",arguments),Math.max(Math.min(e,r),t)

// proposed constrain() minified
constrain=function(e,t,r){return i.default._validateParameters("constrain",arguments),e<t?t:r<e?r:e}

PR Checklist

allcontributors bot and others added 30 commits January 20, 2025 15:48
…dd-thrly

docs: add thrly as a contributor for doc, and code
…dd-lirenjie95

docs: add lirenjie95 as a contributor for doc, and code
…dd-philyawj

docs: add philyawj as a contributor for doc
…dd-akkarn1689

docs: add akkarn1689 as a contributor for code
…dd-xinemata

docs: add xinemata as a contributor for eventOrganizing, tutorial, and 3 more
…dd-Vaivaswat2244

docs: add Vaivaswat2244 as a contributor for code
…dd-dkessner

docs: add dkessner as a contributor for example
…dd-AnimeshSinha1309

docs: add AnimeshSinha1309 as a contributor for example
allcontributors bot and others added 29 commits January 30, 2025 02:10
…dd-riteshsp2000

docs: add riteshsp2000 as a contributor for example
…dd-gabrielsroka

docs: add gabrielsroka as a contributor for example
…dd-kcconch

docs: add kcconch as a contributor for example
…dd-davidblitz

docs: add davidblitz as a contributor for example
…dd-crh82

docs: add crh82 as a contributor for example
docs: add Aaron Welles as a contributor for example
docs: add example emoji to all example contributors using emoji key
…dd-seyko1

docs: add seyko1 as a contributor for code
…dd-thekinardist

docs: add thekinardist as a contributor for example, and design
Copy link

welcome bot commented Feb 13, 2025

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants