| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
code.jquery.com is now used just for the specific versions.
|
| |
|
| |
|
|
|
|
|
| |
Fixes #15393
Closes gh-1958
|
|
|
| |
Closes gh-1948
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jQuery >=3.4.0 uses a special focus/blur handler pair needed to fix various
issues with checkboxes/radio buttons as well as being able to pass data in focus
triggers. This leaves extra focus & blur events if any of these events were ever
listened to at a particular element.
We've started skipping these handlers in the `domEqual` assertion in gh-1930 but
we missed a case where an event is triggered before any handler is attached -
jQuery >=3.4.0 attaches then an extra noop listener just to force the code path
to go through the setup code before the trigger happens. We now skip this extra
handler as well.
This fixes a test failure in "dialog: methods" destroy tests.
Closes gh-1945
Ref jquery/jquery#4496
Ref gh-1930
|
|
|
|
|
|
| |
That upgrade makes UI pass the whole test suite without a single jQuery Migrate
warning. 🎉
Closes gh-1932
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jQuery >=3.4.0 uses a special focus/blur handler pair
needed to fix various issues with checkboxes/radio buttons
as well as being able to pass data in focus triggers.
However, this leaves dummy focus & blur events if any of these
events were ever listened to at a particular element. There's not
a lot UI can do to fix this so we now just skip these handlers for
data comparisons in tests.
Ref jquery/jquery#4496
Closes gh-1930
Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
|
|
|
| |
Closes gh-1923
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This helps fix issues that make tooltip tests sometimes fail when run against
jQuery 3.2 or newer due to timing differences.
Details:
* Add the `moduleAfterEach` function ensuring no timers are running.
* Attach this function via `common.testWidget`.
* Attach this function to most test suites.
* Add a tooltip test helper cleaning up leftover timers.
* Rename legacy `setup`/`teardown` hooks to `beforeEach`/`afterEach`.
Closes gh-1920
|
|
|
|
|
|
| |
This is necessary to catch all possible warnings that the test files
may trigger.
Closes gh-1918
|
|
|
|
|
| |
The file now contains many more than just jQuery 1.7 patches.
Closes gh-1917
|
|
|
| |
Closes gh-1915
|
|
|
|
|
|
| |
The jQuery Simulate & jQuery Color updates are needed for compatibility
with jQuery master, a future jQuery 4.
Closes gh-1914
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jQuery positional selectors () have been deprecated in
[jQuery 3.4.0](https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/)
and they'll be removed in jQuery 4.0.0. This PR removes their usage.
Most of the changes were possible without changing public API. However,
dropping `:even` usage required a change to the
[`header` option](https://api.jqueryui.com/accordion/#option-header)
of the accordion widget. I made it an optional function; this will need
to be documented.
The polyfill for `.even()` & `.odd()` is added for jQuery <3.5.0. There was
no usage of the :odd selector in the code but the `.odd()` method is also
polyfilled for completeness.
Closes gh-1904
|
|
|
|
| |
Closes gh-1905
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary of the changes:
* Build: Add jQuery 3.2.0-3.4.1 to versions UI can be tested against
* Build: Load jQuery & Migrate via HTTPS
* Build: Add package-lock.json to .gitignore
* Build: Update jQuery Migrate from 3.0.0 to 3.1.0
* Build: Allow to run tests against jQuery 3.x-git
* Build: Fix formatting according to JSCS rules
* Build: Disable JSCS for the inlined jQuery Color
* All: Switch from $.isArray to Array.isArray (jQuery.isArray will be
removed in jQuery 4.0)
* All: Switch from `$.isFunction( x )` to `typeof x === "function"`
(jQuery.isFunction will be removed in jQuery 4.0)
* All: Inline jQuery.isWindow as it'll be removed in jQuery 4.0
* Effects: Fix a timing issue in a variable declaration. Previously,
a jQuery object was created, chained & assigned to a variable that
was then accessed in a callback used inside of this chained
definition. Due to a timing difference in when the callback fired for
the first time in latest jQuery master, it was being called before
the variable was defined.
* Tests: Make dialog & draggable unit tests less strict (newest jQuery
returns fractional results in some cases, making comparisons fail when
there's a tiny difference)
* All: Migrate from $.trim to bare String.prototype.trim (jQuery.trim
will be deprecated in jQuery 3.5)
Closes gh-1901
|
| |
|
|
|
|
|
| |
Ref #15160
Ref gh-1813
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes gh-1774
|
|
|
|
| |
Closes gh-1766
|
| |
|
| |
|
| |
|
|
|
|
| |
Ref gh-1706
|
| |
|
|
|
|
|
|
|
| |
jQuery Compat is not going to get released after all; jQuery UI should be tested
against jquery-git instead of jquery-compat-git.
Closes gh-1646
|
| |
|
| |
|
|
|
|
|
| |
Ref #14246
Ref gh-1588
|
|
|
|
| |
Ref #13885
|
|
|
|
|
|
|
| |
This adds a custom build which excludes the event/alias and deprecated modules
Fixes #12770
Closes gh-1556
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes gh-1547
|
| |
|
|
|
|
|
| |
It appears that we must load require.js via a standard script tag in order
for it to work properly in IE8.
|
| |
|
|
|
|
|
|
|
|
| |
Moved QUnit assertion dependencies from `lib/bootstrap` to `lib/qunit`.
Corrected bad draggable assertions.
Ref gh-1528
|
|
|
|
| |
Ref gh-1528
|
|
|
|
|
| |
Ref #10119
Ref gh-1528
|
|
|
|
|
| |
Ref #10119
Ref gh-1528
|
|
|
|
|
|
|
| |
Should eventually replace with qunit-assert-close.
Ref #10119
Ref gh-1528
|
|
Ref #10119
Ref gh-1528
* Adds RequireJS and relies on AMD for loading dependencies.
* Updates to grunt-contrib-qunit 0.6.0.
* Convert `domEqual()` to a proper QUnit assertion.
* Introduces two bootstrap files (JS and CSS) which use `data-` attributes to
reduce the amount of boilerplate needed in each test
|