aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/bootstrap.js
Commit message (Collapse)AuthorAgeFilesLines
* Build: Migrate from JSHint & JSCS to ESLintMichał Gołębiowski-Owczarek2021-06-071-2/+2
| | | | | Fixes #15393 Closes gh-1958
* Build: Add jQuery 3.6.0, update Migrate from 3.3.1 to 3.3.2Michał Gołębiowski-Owczarek2021-03-091-1/+1
| | | Closes gh-1948
* Tests: Update jQuery Migrate from 3.3.0 to 3.3.1Michał Gołębiowski-Owczarek2020-07-271-1/+1
| | | | | | That upgrade makes UI pass the whole test suite without a single jQuery Migrate warning. 🎉 Closes gh-1932
* Tests: Load jQuery Migrate before UI test filesMichał Gołębiowski-Owczarek2020-05-161-6/+9
| | | | | | This is necessary to catch all possible warnings that the test files may trigger. Closes gh-1918
* Build: Rename jquery-1-7 to jquery-patchMichał Gołębiowski-Owczarek2020-05-161-1/+1
| | | | | The file now contains many more than just jQuery 1.7 patches. Closes gh-1917
* Build: Update jQuery Simulate, jQuery Migrate & jQuery ColorMichał Gołębiowski-Owczarek2020-05-161-1/+1
| | | | | | The jQuery Simulate & jQuery Color updates are needed for compatibility with jQuery master, a future jQuery 4. Closes gh-1914
* All: Remove usage of jQuery positional selectorsMichał Gołębiowski-Owczarek2020-01-221-1/+4
| | | | | | | | | | | | | | | | | 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
* All: Migrate away from deprecated/removed Core APIsMichał Gołębiowski-Owczarek2019-12-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Tests: Load `jquery-1-7` before other modulesScott González2017-05-311-1/+1
|
* Tests: Load `jquery-1-7` module for jQuery 2.x as wellScott González2017-05-151-2/+2
|
* Tests: Load the `jquery-1-7` module for all 1.x versionsScott González2017-05-101-2/+2
|
* Build: Add missing semicolonScott González2017-02-061-1/+1
|
* Qunit: Add bootstrap config for running tests with jQuery MigrateEirik Sletteberg2017-02-061-4/+36
| | | | Closes gh-1774
* Build: Add jQuery 1.12/2.2 to the test configurationMichał Gołębiowski2016-05-251-1/+1
| | | | Ref gh-1706
* Build: Use jquery-git in place of jquery-compat-gitMichał Gołębiowski2015-11-141-1/+1
| | | | | | | 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
* Tests: Load ui/jquery-1-7.js when testing against jQuery 1.7.xScott González2015-08-311-0/+5
|
* Tests: Style updatesAlexander Schmitz2015-08-211-6/+6
| | | | | Ref #14246 Ref gh-1588
* Build: Upgrade to jQuery 1.11.3Scott González2015-05-141-1/+1
|
* Tests: Use new jquery-compat-git and jquery-git filesScott González2015-05-141-1/+1
|
* Build: Update to qunit-assert-classes to V 1.0.2Alexander Schmitz2015-05-011-1/+0
| | | | Closes gh-1547
* Tests: Fix loading in TestSwarmScott González2015-04-171-13/+8
|
* Tests: Fix AMD loading in IE8Scott González2015-04-171-23/+16
| | | | | It appears that we must load require.js via a standard script tag in order for it to work properly in IE8.
* Tests: Use the qunit-assert-close moduleScott González2015-04-091-5/+5
| | | | | | | | Moved QUnit assertion dependencies from `lib/bootstrap` to `lib/qunit`. Corrected bad draggable assertions. Ref gh-1528
* Tests: Rename filesScott González2015-04-091-6/+6
| | | | Ref gh-1528
* Tests: Support `$.uiBackCompat = false` via `data-no-back-compat`Scott González2015-04-091-4/+14
| | | | | Ref #10119 Ref gh-1528
* Spinner: Convert tests to new infrastructureScott González2015-04-091-0/+3
| | | | | Ref #10119 Ref gh-1528
* Tests: Change test infrastructure to use AMD and reduce boilerplateScott González2015-04-091-0/+146
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