Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Build: Migrate from JSHint & JSCS to ESLint | Michał Gołębiowski-Owczarek | 2021-06-07 | 4 | -6/+8 |
| | | | | | Fixes #15393 Closes gh-1958 | ||||
* | Tests: Ensure no timers are running at the end of each test (#1920) | Michał Gołębiowski-Owczarek | 2020-05-16 | 3 | -3/+9 |
| | | | | | | | | | | | | | 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: Migrate away from deprecated/removed Core APIs | Michał Gołębiowski-Owczarek | 2019-12-08 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Widget: Handle `Object.create(null)` for options objects | Scott González | 2017-04-24 | 1 | -1/+6 |
| | | | | | Fixes #15179 Closes gh-1809 | ||||
* | Widget: Untrack classes elements when they are removed from the DOM | Alexander Schmitz | 2016-09-13 | 1 | -5/+37 |
| | | | | | Fixes #15043 Closes gh-1744 | ||||
* | Widget: `instance()` should return `undefined` for empty sets | Scott González | 2016-08-04 | 1 | -3/+5 |
| | | | | Fixes #15019 | ||||
* | Widget: Shift to use no globals | Amanpreet Singh | 2016-04-14 | 4 | -445/+457 |
| | |||||
* | Widget: Call `._setOptionDisabled()` on init if the widget is disabled | Scott González | 2015-09-25 | 1 | -0/+33 |
| | | | | | Fixes #9151 Ref gh-1599 | ||||
* | All: Delegate to base `_getCreateOptions()`. | Scott González | 2015-09-17 | 1 | -1/+4 |
| | | | | | | | Ensures that any extensions to the base widget will be handled properly by individual widgets. Closes gh-1598 | ||||
* | Widget: Style updates | Alexander Schmitz | 2015-09-11 | 4 | -298/+305 |
| | | | | Ref #14246 | ||||
* | Widget: Remove core event/alias and deprecated module dependencies | Alexander Schmitz | 2015-05-20 | 1 | -14/+14 |
| | |||||
* | Widget: Support mixins | Scott González | 2015-05-14 | 1 | -0/+79 |
| | | | | | Fixes #12601 Closes gh-1554 | ||||
* | Widget tests: Clean up $.fn methods | Scott González | 2015-05-13 | 1 | -0/+8 |
| | |||||
* | Tests: Fix AMD loading in IE8 | Scott González | 2015-04-17 | 1 | -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 files | Scott González | 2015-04-09 | 5 | -7/+1 |
| | | | | Ref gh-1528 | ||||
* | Widget: Convert tests to new infrastructure | Scott González | 2015-04-09 | 5 | -29/+33 |
| | | | | | Ref #10119 Ref gh-1528 | ||||
* | Tests: Switch to the new qunit-composite module | Scott González | 2015-04-07 | 1 | -2/+2 |
| | | | | | | This module was created from our existing implementation. Closes gh-1532 | ||||
* | Widget: Use new has/lacksClasses assertions for all class checks | Alexander Schmitz | 2015-03-11 | 1 | -22/+22 |
| | |||||
* | Widget: Add classes option and _add/_remove/_toggleClass methods | Alexander Schmitz | 2015-03-11 | 3 | -1/+149 |
| | | | | | Fixes #7053 Closes gh-1411 | ||||
* | Tests: Fix missing wrapper in widget extend unit tests | Jörn Zaefferer | 2015-03-06 | 1 | -0/+4 |
| | |||||
* | Widget: Fix typos | Scott González | 2014-11-10 | 1 | -4/+4 |
| | | | | Closes gh-1386 | ||||
* | Widget: modify this.window test to support IE8 window equality quirk | Alexander Schmitz | 2014-08-27 | 1 | -1/+4 |
| | | | | Comparing this.window with strict equality fails in IE8 | ||||
* | Widget: Ensure window and document are defined in _getCreateOptions() | Alexander Schmitz | 2014-08-27 | 1 | -1/+4 |
| | | | | Closes gh-1320 | ||||
* | Build: Pull in jquery.simulate.js from Bower | Mike Sherov | 2014-08-22 | 1 | -1/+1 |
| | | | | Fixes #10563 | ||||
* | Tests: Fix composite tests | Scott González | 2014-08-01 | 1 | -1/+1 |
| | |||||
* | Build: Reorganize external directory | Scott González | 2014-06-24 | 2 | -4/+4 |
| | | | | | | | Put each external library into its own directory. Move jquery.js to external. Ref gh-1266 | ||||
* | All: Rename jquery.js to exclude version in filename | Jörn Zaefferer | 2014-03-05 | 1 | -1/+1 |
| | |||||
* | Tests: Update to sane QUnit markup | Jörn Zaefferer | 2014-02-20 | 2 | -10/+2 |
| | |||||
* | All: Rename all files, removing the "jquery.ui." prefix; | Rafael Xavier de Souza | 2014-01-24 | 1 | -2/+2 |
| | | | | | | | - By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029 | ||||
* | Widget: Support events with dashes and colons | Ruslan Yakhyaev | 2014-01-16 | 1 | -2/+17 |
| | | | | | Fixes #9708 Closes gh-1159 | ||||
* | Widget: option-method should work as getter only when argument length is 1. ↵ | Jyoti Deka | 2013-10-16 | 1 | -3/+14 |
| | | | | Fixes #9601 - Widget: calling _setOption with undefined as 3rd argument makes it a getter | ||||
* | Widget Bridge: Make the _init method optional. Add tests for both states. ↵ | Jörn Zaefferer | 2013-09-11 | 1 | -1/+12 |
| | | | | Fixes #9543 - Widget bridge: Make _init() optional. | ||||
* | Widget Factory: Fix multiple var statements in test | Alexander Schmitz | 2013-07-31 | 1 | -3/+3 |
| | |||||
* | Widget Factory: Make $.widget return the constructor. Fixes #9467 - Widget ↵ | Alexander Schmitz | 2013-07-31 | 1 | -2/+3 |
| | | | | factory: Return the constructor from $.widget(). | ||||
* | Updating jQuery to 1.10.2. | Bruno M. Custódio | 2013-07-05 | 1 | -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. | ||||
* | Widget: Properly set widgetEventPrefix when redefining a widget. Fixes #9316 ↵ | Scott González | 2013-05-20 | 1 | -0/+10 |
| | | | | - Widget: widgetEventPrefix is empty when widget is (occasionally) loaded twice. | ||||
* | Widget: Remove copy-pasta leftovers | Jörn Zaefferer | 2013-03-19 | 1 | -4/+2 |
| | |||||
* | Widget tests: Use instance method. Also replace a few instances of $.data in ↵ | Jörn Zaefferer | 2013-03-19 | 1 | -20/+21 |
| | | | | widget implementations. | ||||
* | Widgets: Updating to use instance method on bridge | Corey Frang | 2013-03-19 | 1 | -2/+5 |
| | |||||
* | Widget: Implement instance method on the bridge to return widget instance - ↵ | Corey Frang | 2013-03-19 | 1 | -0/+13 |
| | | | | Fixes #9030 - `instance` method in widget prototype | ||||
* | Updating 'jQuery' to 1.9.1. | Bruno M. Custódio | 2013-02-05 | 1 | -1/+1 |
| | |||||
* | Updating to jQuery 1.9.0 | Kris Borchers | 2013-01-17 | 1 | -1/+1 |
| | |||||
* | Widget: Don't modify the prototype passed to $.widget(). Fixes #8876 - ↵ | Scott González | 2012-12-03 | 1 | -8/+41 |
| | | | | Calling _super calls wrong inherited widget. | ||||
* | Widget tests: Fixed order of actual and expected. | Scott González | 2012-12-03 | 1 | -1/+1 |
| | |||||
* | Upgrade jQuery to 1.8.3. | Scott González | 2012-11-14 | 1 | -1/+1 |
| | |||||
* | Widget: Only use the event prefix from the base if we're redefining a ↵ | Scott González | 2012-11-09 | 1 | -2/+6 |
| | | | | widget. Fixes #8805 - Widget: widgetEventPrefix is incorrect when inheriting with jQuery UI 1.9.1. | ||||
* | Widget: Suppress disabled check when binding destroy to the remove event. ↵ | Scott González | 2012-11-09 | 1 | -0/+6 |
| | | | | Fixes #8769 - Widget: ui-state-disabled blocks destroy to be triggered on remove. | ||||
* | Widget: Removed dual storage of widget instances. Fixes #8801 - Widget: ↵ | Scott González | 2012-11-09 | 1 | -12/+6 |
| | | | | Remove data fallbacks for widget names. | ||||
* | Widget: Added suppressDisabledCheck flag to _on(). Fixes #8800 - Widget: ↵ | Scott González | 2012-11-09 | 1 | -0/+40 |
| | | | | Ability to use _on() even when disabled. | ||||
* | Widget: Bridge falls back to name if there is no widgetFullName, and always ↵ | Avinash R | 2012-11-07 | 1 | -0/+53 |
| | | | | stores instances in data. Fixed #8775 - Widget: Bridge fails if widgetFullName is not supplied. |