aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tooltip/core.js
Commit message (Collapse)AuthorAgeFilesLines
* Docs: Change a few most common domains from HTTP to HTTPSMichał Gołębiowski-Owczarek2024-04-261-3/+3
| | | | | Also, update a few stale URLs to what they redirect now to. Closes gh-2244
* Tests: Fix tooltip tests by destroying tooltipsMichał Gołębiowski-Owczarek2023-05-101-0/+6
| | | | | | | Some tests were not properly destroying tooltips which made tests start to fail with the new QUnit. Ref gh-2157
* Tooltip: Don't crash on empty contentJosep Sanz2021-11-081-0/+70
| | | | | | | | | | | | | | | Commit 1f2011ece removed a `try-catch` around triggering the `remove` handlers in the `jQuery.cleanData` override. The `try-catch` was meant for old IE but it was also catching an error coming from the tooltip `remove` handler depending on being able to find a relevant tooltip. The `_find` method returns `null`, though, when the tooltip cotent is empty. Instead of restoring the `try-catch`, handle the `null` case in the `remove` handler. Fixes gh-1990 Closes gh-1994 Co-authored-by: Claas Augner <github@caugner.de> Co-authored-by: Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
* 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/+5
| | | | | | | | | | | | | 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
* Tooltip: Shift to use no globalsAmanpreet Singh2016-04-141-62/+66
|
* Tooltip: Style updatesAlexander Schmitz2015-09-111-31/+31
| | | | Ref #14246
* Tooltip: Move tooltip into widgets directoryAlexander Schmitz2015-08-081-1/+1
| | | | Ref #13885
* Tooltip: Remove core event/alias and deprecated module dependenciesAlexander Schmitz2015-05-201-5/+5
|
* Tooltip: Remove name attribute from elements in the live regionJiabao Wu2015-04-221-0/+25
| | | | | Fixes #11272 Closes gh-1544
* Tests: Rename filesScott González2015-04-091-0/+224
Ref gh-1528