aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/spinner
Commit message (Collapse)AuthorAgeFilesLines
* Build: Migrate from JSHint & JSCS to ESLintMichał Gołębiowski-Owczarek2021-06-075-0/+5
| | | | | Fixes #15393 Closes gh-1958
* Tests: Ensure no timers are running at the end of each test (#1920)Michał Gołębiowski-Owczarek2020-05-165-9/+15
| | | | | | | | | | | | | 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-6/+6
| | | | | | | | | | | | | | | | | 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
* Spinner: Ignore `mousewheel` events when not focusedScott González2017-02-211-9/+25
| | | | | Fixes #15139 Closes gh-1794
* Spinner: Shift to use no globalsAmanpreet Singh2016-04-145-250/+257
|
* Spinner: Style updatesAlexander Schmitz2015-09-116-134/+134
| | | | Ref #14246
* Spinner: Style updatesAlexander Schmitz2015-08-213-3/+3
| | | | | Ref #14246 Ref gh-1588
* Spinner: Move spinner into widgets folderAlexander Schmitz2015-08-087-7/+7
| | | | Ref #13885
* Spinner: Deprecate _uiSpinnerHtml and _buttonHtml extension pointsAlexander Schmitz2015-06-033-0/+97
| | | | | Fixes #11097 Closes gh-1560
* Spinner: Remove core event/alias and deprecated module dependenciesAlexander Schmitz2015-05-203-18/+18
|
* Tests: Fix AMD loading in IE8Scott González2015-04-171-0/+1
| | | | | It appears that we must load require.js via a standard script tag in order for it to work properly in IE8.
* Tests: Rename filesScott González2015-04-096-3/+3
| | | | Ref gh-1528
* Tests: Widget test helpers extend the main helperScott González2015-04-094-9/+12
| | | | | Ref #10119 Ref gh-1528
* Spinner: Convert tests to new infrastructureScott González2015-04-097-43/+45
| | | | | Ref #10119 Ref gh-1528
* Tests: Switch to the new qunit-composite moduleScott González2015-04-071-2/+2
| | | | | | This module was created from our existing implementation. Closes gh-1532
* Spinner: Use new has/lacksClasses assertions for all class checksAlexander Schmitz2015-03-112-16/+19
|
* Spinner: Add classes optionAlexander Schmitz2015-03-113-1/+21
| | | | | Ref #7053 Ref gh-1411
* Widget: Add classes option and _add/_remove/_toggleClass methodsAlexander Schmitz2015-03-111-0/+1
| | | | | Fixes #7053 Closes gh-1411
* Tests: Fix style issues with missing or multiple line breaksJörn Zaefferer2015-01-241-1/+0
| | | | | As pointed out by jscs, after a esformatter run. The latter doesn't address these, so fixing them manually.
* Theme: Carat should be named caretLisa Seacat DeLuca2014-11-031-4/+4
| | | | | Fixes #10683 Closes gh-1382
* Build: Pull in jquery.simulate.js from BowerMike Sherov2014-08-221-1/+1
| | | | Fixes #10563
* Tests: Fix composite testsScott González2014-08-011-1/+1
|
* Build: Reorganize external directoryScott González2014-06-242-6/+6
| | | | | | | Put each external library into its own directory. Move jquery.js to external. Ref gh-1266
* Spinner: Don't change value when changing min/max optionsDavid Petersen2014-05-261-3/+3
| | | | | Fixes #9703 Closes gh-1252
* Spinner tests: Remove mousewheel pluginJörn Zaefferer2014-04-231-1/+0
| | | | | | | | The plugin isn't needed nor used in the unit tests, which just trigger the appropriate events. This works around the failure in Firefox 27/28 that we'll try to track down separately. Ref #9988
* Spinner: Minor typo in stepUp()'s testsTJ VanToll2014-03-301-1/+1
|
* All: Rename jquery.js to exclude version in filenameJörn Zaefferer2014-03-051-1/+1
|
* Tests: Update to sane QUnit markupJörn Zaefferer2014-02-202-10/+2
|
* All: Rename all files, removing the "jquery.ui." prefix;Rafael Xavier de Souza2014-01-241-5/+5
| | | | | | | - By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
* Spinner: Add isValid method. Fixes #9542 - Spinner: Add isValid() methodJörn Zaefferer2013-09-131-0/+32
|
* Updating jQuery to 1.10.2.Bruno M. Custódio2013-07-051-1/+1
| | | | | Adding jQuery 1.10.0, 1.10.1, 1.10.2, 2.0.0, 2.0.1, 2.0.2 and 2.0.3 to the tests directory.
* Spinner Tests: Fix IE test failures by removing timing dependencies from ↵Mike Sherov2013-04-011-4/+4
| | | | focus/blur tests.
* Spinner Tests: Fix IE test failures by accounting for the async nature of ↵Mike Sherov2013-03-311-0/+3
| | | | focus/blur.
* Widget: Stop setting ui-state-disabled and aria by default on setting ↵Scott González2013-03-141-1/+3
| | | | | | | | | | disabled option. Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #6039 - Droppable: disabled should not have ui-state-disabled This reverts commit 23771d38ba9d2663f6db0243c8e992dc7ff6844a.
* Revert "Widget: Stop setting ui-state-disabled and aria by default on ↵Scott González2013-03-141-3/+1
| | | | | | setting disabled option." This needs to wait for a major release. This reverts commit 4d67f4f34908a50ef88f95df4103ee001b777e45.
* Widget: Stop setting ui-state-disabled and aria by default on setting ↵Mike Sherov2013-03-111-1/+3
| | | | | | | | disabled option. Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #6039 - Droppable : disabled should not have ui-state-disabled
* Spinner: Call _stop() on blur. Fixes #9112 - Spinner keeps changing after ↵Scott González2013-02-221-0/+27
| | | | losing focus.
* Updating 'jQuery' to 1.9.1.Bruno M. Custódio2013-02-051-1/+1
|
* Updating to jQuery 1.9.0Kris Borchers2013-01-171-1/+1
|
* Spinner: Trigger start/spin/stop events when calling step/page methods. ↵Jörn Zaefferer2012-12-271-15/+15
| | | | Fixes #8901 - Spinner does not fire start/spin/stop events when calling stepUp()/Down(), pageUp()/Down() methods
* Spinner: Update button icons when option changes. Fixes #8926 - Spinner: ↵Jörn Zaefferer2012-12-271-4/+11
| | | | Can't change icons option after init
* Spinner tests: Delay all the things to make IE happy. Maybe...Scott González2012-12-101-1/+1
|
* Spinner tests: Better handling of async focus in IE.Scott González2012-12-101-71/+100
|
* Upgrade jQuery to 1.8.3.Scott González2012-11-141-1/+1
|
* Build: Enable "unused" option in jshint - Remove unused variables from ↵Mike Sherov2012-10-231-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | codebase. - Closes gh-788 Squashed commit of the following: commit 7f19f92c646f180bc067bb24123175251a64a9d6 Author: Mike Sherov <mike.sherov@gmail.com> Date: Tue Oct 23 10:34:28 2012 -0400 put back in fake args for signatures that we want to keep commit 257505a9e69da0c53e3a989dab87a13112045a29 Author: Mike Sherov <mike.sherov@gmail.com> Date: Tue Oct 23 08:10:20 2012 -0400 changes per @scott_gonzalez commit 12725480cb58e70865e5aa6e735009b6b035c8f3 Author: Mike Sherov <mike.sherov@gmail.com> Date: Mon Oct 22 22:54:05 2012 -0400 clean up unused vars in ui directory commit 563595e7aee5d4a5c096b2d1de655abdf920aacd Author: Mike Sherov <mike.sherov@gmail.com> Date: Mon Oct 22 22:37:42 2012 -0400 clean up unused vars in grunt and tests
* Upgrade jQuery to 1.8.2.Scott González2012-09-201-1/+1
|
* Spinner tests: Added test for widget() method.Scott González2012-08-261-0/+8
|
* Upgrade jQuery to 1.8.0.Scott González2012-08-131-1/+1
|
* Spinner: Introduce icons option to make button icons customizable, mostly ↵Jörn Zaefferer2012-07-122-0/+23
| | | | for consistency
* Update externals to latest mousewheel plugin, drop the version from the ↵Jörn Zaefferer2012-07-121-1/+1
| | | | fielname while at it