| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This is an edge case and it only affects code accepting untrusted input as
a widget name, but it's still technically correct to filter these out.
Closes gh-2310
|
|
|
|
| |
Closes gh-2249
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes:
* add `tests/lib/vendor/**/*` to `.eslintignore`
* move `qunit-composite` to `tests/lib` so that we can modify it
* move `qunit-assert-classes` to `tests/lib` so that we can modify it
* move `qunit-assert-close` to `tests/lib` so that we can modify it
* replace `assert.push` with `assert.pushResult`
* remove usage of `QUnit.extend`
Closes gh-2157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to the fact the widget factory code is now in strict mode, the check for
being called without using the `new` keyword started breaking if you save the
widget constructor to a variable before calling it:
```js
var customWidget = $.custom.customWidget;
customWidget( {}, elem );
```
as then `this` is undefined and checking for `this._createWidget` crashes.
Account for that with an additional check.
Fixes gh-2015
Closes gh-2019
|
|
|
|
|
| |
Fixes #15393
Closes gh-1958
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Fixes #15179
Closes gh-1809
|
|
|
|
|
| |
Fixes #15043
Closes gh-1744
|
|
|
|
| |
Fixes #15019
|
| |
|
|
|
|
|
| |
Fixes #9151
Ref gh-1599
|
|
|
|
|
|
|
| |
Ensures that any extensions to the base widget will be handled properly by
individual widgets.
Closes gh-1598
|
|
|
|
| |
Ref #14246
|
| |
|
|
|
|
|
| |
Fixes #12601
Closes gh-1554
|
| |
|
|
|
|
|
| |
It appears that we must load require.js via a standard script tag in order
for it to work properly in IE8.
|
|
|
|
| |
Ref gh-1528
|
|
|
|
|
| |
Ref #10119
Ref gh-1528
|
|
|
|
|
|
| |
This module was created from our existing implementation.
Closes gh-1532
|
| |
|
|
|
|
|
| |
Fixes #7053
Closes gh-1411
|
| |
|
|
|
|
| |
Closes gh-1386
|
|
|
|
| |
Comparing this.window with strict equality fails in IE8
|
|
|
|
| |
Closes gh-1320
|
|
|
|
| |
Fixes #10563
|
| |
|
|
|
|
|
|
|
| |
Put each external library into its own directory.
Move jquery.js to external.
Ref gh-1266
|
| |
|
| |
|
|
|
|
|
|
|
| |
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271;
Fixes #9464
Closes gh-1029
|
|
|
|
|
| |
Fixes #9708
Closes gh-1159
|
|
|
|
| |
Fixes #9601 - Widget: calling _setOption with undefined as 3rd argument makes it a getter
|
|
|
|
| |
Fixes #9543 - Widget bridge: Make _init() optional.
|
| |
|
|
|
|
| |
factory: Return the constructor from $.widget().
|
|
|
|
|
| |
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: widgetEventPrefix is empty when widget is (occasionally) loaded twice.
|
| |
|
|
|
|
| |
widget implementations.
|
| |
|
|
|
|
| |
Fixes #9030 - `instance` method in widget prototype
|
| |
|
| |
|
|
|
|
| |
Calling _super calls wrong inherited widget.
|
| |
|
| |
|
|
|
|
| |
widget. Fixes #8805 - Widget: widgetEventPrefix is incorrect when inheriting with jQuery UI 1.9.1.
|