Commit Graph

55 Commits

Author SHA1 Message Date
Michał Gołębiowski-Owczarek
0c860b0d92
All: Remove usage of jQuery positional selectors
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
2020-01-22 16:44:34 +01:00
Jörn Zaefferer
5cbb419f24 Demos: Add device-width viewport meta to all demos
Ref 343c265172
2015-09-30 17:07:38 +02:00
Alexander Schmitz
febd120d75 Position: Update demos to use AMD
Ref #10119
2015-07-21 11:00:41 -04:00
Alexander Schmitz
ba37ca9ea5 Position: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:58 -04:00
Scott González
6df127a0b5 Build: Reorganize external directory
Put each external library into its own directory.
Move jquery.js to external.

Ref gh-1266
2014-06-24 22:45:32 -04:00
Jörn Zaefferer
16f421fd50 Position demo: Address todo comment by replacing plugin methods 2014-04-24 12:15:51 +02:00
TJ VanToll
343c265172 Demos: Adding <meta name="viewport"> tag for easier mobile browsing 2014-03-07 09:30:11 -05:00
Jörn Zaefferer
a40647f0e5 All: Rename jquery.js to exclude version in filename 2014-03-05 10:19:11 +01:00
Rafael Xavier de Souza
21154cfa2e All: Rename all files, removing the "jquery.ui." prefix;
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271;

Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00
Mohsen Ekhtiari
1c58573a95 Position demo: Added missing semicolon. 2013-08-12 10:54:16 -04:00
Bruno M. Custódio
0d5eaab9bb Updating jQuery to 1.10.2.
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.
2013-07-05 08:42:37 -04:00
Scott González
0da5f9946d Revert "Position: Use absolute positioning when getting scrollbar width to avoid reflows of user content. Fixes #9291 - Position - $.position.scrollbarWidth detection causes layout issues."
This reverts commit 1d3b8ff78e.
2013-05-16 08:32:58 -04:00
Scott González
1d3b8ff78e Position: Use absolute positioning when getting scrollbar width to avoid reflows of user content. Fixes #9291 - Position - $.position.scrollbarWidth detection causes layout issues. 2013-05-16 06:26:03 -04:00
Scott González
cc378433ab Position demo: Fixed usage of center positioning. 2013-04-25 12:58:53 -04:00
Bruno M. Custódio
b440979ba6 Updating 'jQuery' to 1.9.1. 2013-02-05 13:47:59 +00:00
Kris Borchers
34409e7ddd Updating to jQuery 1.9.0 2013-01-17 00:28:41 -06:00
Scott González
fb6119e182 Upgrade jQuery to 1.8.3. 2012-11-14 15:22:01 -05:00
Scott González
2582bfab46 Position: Removed offset option. Fixes #6982 - Position: Remove offset option. 2012-10-25 06:39:14 -04:00
Jörn Zaefferer
88bfb7572d Cleanup demos: Copy&paste errors in titles, bad descriptions or styling 2012-10-24 12:47:01 -04:00
Scott González
77568347cf Demos: Fixed titles. 2012-10-08 17:42:56 -04:00
Scott González
a638acb583 Upgrade jQuery to 1.8.2. 2012-09-20 21:41:47 -04:00
Scott González
303f20e1b3 Demos: Cleanup. 2012-09-10 11:33:46 -04:00
Scott González
7e9315a34d Position cycler demo: Cleanup. 2012-08-26 18:21:15 -04:00
Scott González
1e6b2b2298 Upgrade jQuery to 1.8.0. 2012-08-13 09:19:09 -04:00
Scott González
51863d5a71 Don't use :input selector. 2012-05-21 14:49:49 -04:00
Jörn Zaefferer
878eb54a14 Fix various issues in our html files, first batch 2012-04-23 18:29:35 +02:00
Scott González
6da7278e87 Position: Simplify default demo by removing drag functionality on positioned elements. Fixes #5380 - Position Demo breaks when dragging an element. 2012-04-15 14:27:15 -04:00
Scott González
89ff5c5232 Upgrade jQuery to 1.7.2. 2012-03-22 09:45:22 -04:00
Jörn Zaefferer
8f71accb75 Position: Fix initial positioning of cycler demo. 2012-02-23 14:26:47 +01:00
Scott González
54fb1441fe Upgrade jQuery to 1.7.1. 2011-11-22 08:43:09 -05:00
Scott González
50dab05784 Upgrade jQuery to 1.7. 2011-11-09 10:18:33 -05:00
Scott González
efe964d86e Upgraded jQuery to 1.6.4. 2011-10-18 09:38:27 -04:00
Scott González
8274f081e0 Position demo: Updated sizes of elements. 2011-09-16 11:33:26 -04:00
kborchers
80bbebd489 Position: Added better collision detection for flip and fit, added visual tests for each and updated the unit tests to take the changes into account. In the process, I removed the rounding that was being done to the position since older jQuery couldn't handle the fractions. There was another pull for this same issue and I have merged the unit tests from that pull into this commit. Also added flipfit! 2011-08-12 22:19:52 -05:00
Scott González
19a9de7e66 Merge branch 'master' into core-1.6.1
Conflicts:
	demos/menubar/default.html
	tests/unit/autocomplete/autocomplete.html
	tests/visual/effects/effects.all.html
	ui/jquery.ui.menu.js
	ui/jquery.ui.popup.js
2011-07-25 11:53:14 -04:00
Scott González
daadc343be Upgrade jQuery to 1.6.2. 2011-07-25 11:46:45 -04:00
Jörn Zaefferer
927857ce84 Position: Cleanup up position demo CSS and add it to the within-visual-test 2011-07-12 11:15:33 -04:00
Benjamin Sterling
d5452c0ec2 Position: Add flip-classes. Fixes #5937 - Position: Add ability to determine if the element is flipped via css 2011-07-11 19:49:56 -04:00
Scott González
6f051d5d6a Position: Merged offset option into my and at options and added support for percentage-based offsets. Fixes #6981 - Position: Merge offset option into my and at options. Fixes #7028 - Position: Allow percent-based offsets. 2011-03-22 12:25:25 -04:00
Richard Worth
593799d6e3 Switched to latest stable jQuery 1.5.1 2011-03-02 20:49:20 -05:00
Phillip Barnes
ff4154bb5d Lossless compression of all non-theme images using ImageOptim 2010-11-19 14:27:18 -05:00
Scott González
fce1f97f76 Upgraded jQuery to 1.4.4. 2010-11-12 09:19:26 -05:00
Scott González
19f9c3a559 Upgraded jQuery to 1.4.3. 2010-10-21 22:29:28 -04:00
Scott González
4a4fab829f Position demos: Coding standards. 2010-09-10 10:24:33 -04:00
Richard Worth
119937725f position demo - fixed html validation issue. Hopefully will fix #5358 - Position Demo is borked 2010-03-17 19:22:05 +00:00
Richard Worth
bfc180b1ba html pages: added HTML5 meta charset UTF-8 tag, changed DOCTYPE to uppercase 2010-03-12 03:18:34 +00:00
Richard Worth
0798b10717 Fixed #5182 - Update to jQuery 1.4.2 2010-02-16 02:39:57 +00:00
Richard Worth
828bcdd2f0 fixed #5163 - themes: css files need to be renamed to be consistent with js file renames in 1.8a1 2010-02-16 01:38:23 +00:00
Richard Worth
79bd955054 switched to jQuery 1.4.1 2010-01-27 12:29:43 +00:00
Richard Worth
a1e069759d switched to jQuery 1.4 2010-01-20 13:52:38 +00:00