-
Notifications
You must be signed in to change notification settings - Fork 473
CSS: Warn and fill .css(name, Number) #337
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
Conversation
|
@dmethvin The first commit is yours, my modifications in the second one. |
dmethvin
left a comment
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.
Good to merge after removing the warning.
|
@dmethvin I removed warning on |
|
@dmethvin This is a new warning so we probably need a new minor release, not a patch one. So the next one would be |
|
Agreed, I've renamed the next milestone. |
The way warning agains number values in `.css()` setters was done in jquery/jquery-migrate#337 and later refined in jquery/jquery-migrate#348 there's no need to send px-ed strings for `top` & `left` as they already don't get the "px" suffix. This reverts commit 57038fa. Ref jquery/jquery-migrate/pull/337 Ref jquery/jquery-migrate/pull/348
The way warning against number values in `.css()` setters was done in jquery/jquery-migrate#337 and later refined in jquery/jquery-migrate#348 there's no need to send px-ed strings for `top` & `left` as they already don't get the "px" suffix. This reverts commit 57038fa. Ref jquery/jquery-migrate/pull/337 Ref jquery/jquery-migrate/pull/348
The way warning against number values in `.css()` setters was done in jquery/jquery-migrate#337 and later refined in jquery/jquery-migrate#348 there's no need to send px-ed strings for `top` & `left` as they already don't get the "px" suffix. This reverts commit 57038fa. Closes gh-4753 Ref jquery/jquery-migrate/pull/337 Ref jquery/jquery-migrate/pull/348
Fixes #296