| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
|
|
|
|
| |
Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
|
|
|
|
| |
Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Closes gh-3649
|
|
|
|
| |
Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
|
|
|
|
| |
Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Closes gh-3647
|
|
|
|
| |
Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Closes gh-3645
|
|
|
|
| |
Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Closes gh-3643
|
|
|
|
|
|
| |
Hopefully this fixes iOS testing: http://swarm.jquery.org/job/5226
Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Closes gh-3641
|
|
|
|
|
|
| |
Ref gh-3597
Fixes gh-3600
Fixes gh-3596
Closes gh-3617
|
|
|
|
|
|
|
|
| |
Thanks @anseki
Fixes gh-3080
Fixes gh-3107
Closes gh-3096
Closes gh-3487
|
|
|
|
| |
Closes gh-3584
Ref bb026fc1.
|
|
|
|
|
| |
Close gh-3581
Fixes gh-3579
|
|
|
|
| |
This reverts commit 5f35b5b406ae7d504de86a3f0a5647b2fdf4f2af.
|
|
|
|
|
| |
Close gh-3577
Fixes gh-3571
|
|
|
|
|
| |
Close gh-3576
Fixes gh-3573
|
|
|
|
|
| |
Close gh-3561
Fixes gh-3193
|
|
|
|
|
| |
Ref bcec54ee7271e2d0e427bcb246e3d2009a8f84f9
Ref 619bf98d5b479f9582dbc40259b666f1c5a83146
|
|
|
|
| |
Ref 619bf98d5b479f9582dbc40259b666f1c5a83146
|
|
|
|
|
|
| |
Fixes gh-3144
Closes gh-3199
Closes gh-3557
|
|
|
|
|
| |
Ref ac9e3016
Close gh-3560
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rAF logic was introduced almost three years ago relative to this commit,
as a primary method for scheduling animation (see gh-1578 pull).
With it there was two substantial changes - one was explicitly mentioned
and the other was not.
First, if browser window was hidden aka `document.hidden === true`
it would immediately execute all scheduled animation without waiting
for time pass i.e. tick time become `0` instead of 13 ms of a default value.
Which created possibility for circular executions in case if `complete`
method executed the same animation (see gh-3434 issue).
And the second one - since then there was two ways of scheduling animation:
with `setInterval` and `requestAnimationFrame`, but there was a
difference in their execution.
In case of `setInterval` it waited default `jQuery.fx.interval` value before
actually starting the new tick, not counting the first step which wasn't
set to be executed through tick method (aka `jQuery.fx.tick`).
Whereas `requestAnimationFrame` first scheduled the call and executed
the `step` method right after that, counting the first call of
`jQuery.fx.timer`, `tick` was happening twice in one frame.
But since tests explicitly disabled rAF method i.e.
`requestAnimationFrame = null` and checking only `setInterval` logic,
since it's impossible to do it otherwise - we missed that change.
Faulty logic also was presented with `cancelAnimationFrame`, which couldn't
clear any timers since `raf` scheduler didn't define new `timerId` value.
Because that change was so subtle, apparently no user noticed it proving
that both `cancelAnimationFrame` and `clearInterval` code paths are redundant.
Since `cancelAnimationFrame` didn't work properly and rAF is and was a primary
used code path, plus the same approach is used in other popular animation libs.
Therefore those code paths were removed.
These changes also replace two different functions which schedule the animation
with one, which checks what type of logic should be used and executes it
appropriatley, but for secondary path it now uses `setTimeout` making it more
consistent with rAF path.
Since ticks are happening globally we also don't require to listen
`visibilitychange` event.
It also changes the way how first call is scheduled so execution of
animation will not happen twice in one frame.
No new tests were not introduced, since now `setTimeout` logic should be
equivalent to the rAF one, but one test was changed since now we actually
execute animation at the first tick.
Fixes gh-3434
Closes gh-3559
|
|
|
|
|
| |
Fixes gh-3475
Closes gh-3505
|
|
|
|
|
| |
Fixes gh-3436
Closes gh-3462
|
|
|
|
|
| |
Ref b442abacbb8464f0165059e8da734e3143d0721f
Ref gh-3423
|
|
|
|
|
|
|
|
|
|
| |
Notify full progress before resolving empty animations
Register animation callbacks before their ticker
Remove the right timer when immediately-done animations spawn more
Ref 9d822bc1c13dd3393b418210a99537c22c06f2c3
Fixes gh-3502
Fixes gh-3503
Closes gh-3496
|
|
|
|
|
|
|
| |
For performance, use a querySelectorAll path instead of Javascript iteration.
http://codepen.io/anon/pen/vywJjx?editors=1010
Fixes gh-3439
Closes gh-3463
|
|
|
|
| |
Fixes gh-3469
Closes gh-3470
|
|
|
|
|
|
| |
Pages used for iframe tests will now successfully load jQuery, even when
opened directly in the browser.
Closes gh-3489
|
|
|
|
|
| |
Fixes gh-2006
Closes gh-3473
|
|
|
|
|
|
| |
Fixes Node smoke tests
Ref gh-3385
Closes gh-3460
|
|
|
|
|
|
|
| |
1. Use the short name of the preset in the config.
2. Run ESLint first on non-minified files.
3. Explicitly specify environments in every config file (those settings cascade
which means we've been assuming a Node.js environment where we shouldn't have).
|
|
|
|
| |
Fixes gh-3442
Closes gh-3445
|
|
|
|
| |
Fixes gh-3267
Closes gh-3367
|
|
|
|
|
| |
Fixes gh-2961
Closes gh-3278
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Renames and changes rnotwhite to focus on HTML whitespace chars
- Change internal use of jQuery.trim to more accurate strip and collapse
- Adds tests to ensure HTML space characters are retained where valid
- Doesn't add tests where the difference is inconsequential and
existing tests are adequate.
Fixes gh-3003
Fixes gh-3072
Close gh-3316
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Working around this problem would require us to skip setting whitespace-only
values except when they're valid which would be very fragile. Another option
would be to set the value and see if it succeeded and then react to that.
We've tried something like that in the past to be able to overwrite !important
styles (see 24e5879) but it broke the CSS cascade (see
https://bugs.jquery.com/ticket/14836#comment:5) and was triggering
MutationObserver callbacks too often so it was reverted in PR gh-1532.
Ref gh-3204
Ref gh-1532
|
|
|
|
|
|
|
|
| |
- For compability reasons, we had already added the global
in AMD mode, but without noConflict. This adds back noConflict
to AMD (which fixes noConflict mode in the tests).
Fixes gh-2930
|
|
|
|
|
| |
Fixes gh-3226
Closes gh-3261
|
|
|
|
|
| |
Fixes gh-3229
Closes gh-3253
|
|
|
|
|
|
|
|
| |
`.eslintrc` format is deprecated -
http://eslint.org/docs/user-guide/configuring#configuration-file-formats
Fixes gh-3248
Closes gh-3247
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Also, expose jQuery.readyException that allows to overwrite the default
ready error handler.
Fixes gh-3174
Closes gh-3210
|
|
|
|
|
|
| |
Use eslint pragmas, fix new errors, etc
Closes gh-3148
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Progress parameters are now correctly propagated from a deferred to which
another deferred resolved unwrapping it.
Thanks to @gibson042 for the report and a clear description of the problem
and the needed fix.
Fixes gh-3062
Closes gh-3150
|
|
|
|
|
|
|
|
|
|
|
|
| |
Attribute hooks are determined for the lowercase versions of attribute names
but this has not been reflected in the bool attribute hooks. The code that
temporarily removed a handler to avoid an infinite loop was removing an
incorrect handler causing stack overflow.
Fixes gh-3133
Refs gh-2914
Refs gh-2916
Closes gh-3134
|
|
|
|
|
|
| |
One test in the attribute module was overwriting jQuery.expr.attrHandle.checked
and wasn't restoring the original state after it finished. It started causing
issues for another checked-related test.
|