aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/accordion/options.js
Commit message (Collapse)AuthorAgeFilesLines
* Build: Migrate from JSHint & JSCS to ESLintMichał Gołębiowski-Owczarek2021-06-071-0/+1
| | | | | Fixes #15393 Closes gh-1958
* Tests: Ensure no timers are running at the end of each test (#1920)Michał Gołębiowski-Owczarek2020-05-161-2/+2
| | | | | | | | | | | | | 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
* All: Remove usage of jQuery positional selectorsMichał Gołębiowski-Owczarek2020-01-221-3/+19
| | | | | | | | | | | | | | | | | 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
* Accordion: Shift to use no globalsAmanpreet Singh2016-04-141-162/+169
|
* Accordion: Correct height calculated when closedAlyosha Pushak2016-02-091-0/+16
| | | | | | Fixes #11938 Closes gh-1536 Closes gh-1616
* Accordion: Style updatesAlexander Schmitz2015-08-211-107/+115
| | | | | Ref #14246 Ref gh-1588
* Accordion: Move accordion into widgets folderAlexander Schmitz2015-08-081-1/+1
| | | | Ref #13885
* Accordion: Remove core event/alias and deprecated module dependenciesAlexander Schmitz2015-05-201-4/+4
|
* Tests: Rename filesScott González2015-04-091-0/+467
Ref gh-1528