Commit Graph

150 Commits

Author SHA1 Message Date
Timo Tijhof
604aae1a57
demos: Replace search.php with $.ajaxTransport() mock
Fixes jquery/jqueryui.com#203
Closes gh-2187
2024-01-03 01:31:36 +01:00
Michał Gołębiowski-Owczarek
0977ea1b48 Demos:Tests: Avoid self-closing HTML tags
Self-closing tags are reported by newer versions of the htmllint
Grunt plugin. They also don't make sense in our HTML files
since they are not XHTML-compliant and they run in HTML mode
anyway.

Ref gh-2157
2023-05-10 10:53:57 +02:00
Michał Gołębiowski-Owczarek
98b539171b All: Migrate away from deprecated/removed Core APIs
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
2019-12-08 22:23:08 +01:00
Scott González
809f29efa7 All: Remove uses of jQuery.proxy()
Ref #15160
Closes gh-1813
2017-05-17 11:17:17 -04:00
Scott González
69e66ea655 Autocomplete: Escape HTML tags in callback name to avoid XSS in demo
Fixes #15048
2016-09-22 07:53:22 -04:00
Scott González
fd81307dd9 Autocomplete: Remove unreachable code in remote demo 2016-09-01 15:56:29 -04:00
Scott González
930934f4d2 Autocomplete: Change JSONP demo to use local data source
Fixes #14974
2016-09-01 15:55:25 -04:00
Scott González
3c860f95aa All: Replace non-breaking spaces with regular spaces 2016-06-08 13:03:42 -04:00
Peter Dave Hello
b7d0c701c7 All: Optimize png images losslessly using zopflipng
Closes gh-1710
2016-06-06 11:26:06 -04: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
0935c9af36 Autocomplete: Update demos to use AMD
Ref #10119
2015-07-21 11:00:41 -04:00
Alexander Schmitz
8b4ce807cd Autocomplete: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:55 -04:00
Jörn Zaefferer
9f62a3faf6 Autocomplete: Cleanup remote-jsonp demo
Fix handling of empty response, remove silly open/close handlers,
fix select callback, fix demo description.

Closes gh-1542
2015-04-20 16:55:26 +02:00
Alexander Schmitz
9d71547394 Tooltip: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:33 -04:00
TJ VanToll
4ac7b1f679 Autocomplete: Re-add wrappers to menu items 2014-10-25 10:10:38 -07:00
Bruno Pérel
0fccf94113 Autocomplete: Remove duplicate array key in demo
Ref gh-1363
2014-10-20 14:41:09 -04:00
Scott González
d1e327c189 Autocomplete: Fix styling for combobox demo
Fixes #10059
2014-07-24 17:21:33 -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
a09462fd5c Autocomplete demo: Datasource needs min. 3 characters 2014-04-23 19:56:48 +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
Jörn Zaefferer
d4865dcbcd Autocomplete: Update remote-jsonp demo with working geo webservice
The previous webservice now requires user credentials. The new one is also
in use in a jQuery Mobile demo.

Fixes #9764
2014-01-29 15:13:54 +01:00
Scott González
fa23894dff All: Quote CSS url() values
Closes gh-1172
2014-01-24 16:53:57 -05: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
Dylan Barrell
0b28d597fe Autocomplete: Announce autocomplete correctly in all ATs.
Fixes #9631
Closes gh-1153
2014-01-14 11:09:49 +01:00
Jörn Zaefferer
89ae7641b0 Autocomplete: Update categories demo again, use only public properties to update menu option 2013-11-13 19:17:51 +01:00
Jörn Zaefferer
14782c04e2 Autocomplete: Update categories demo to use menu's new items option to exclude custom headers from menu focus 2013-11-13 18:51:48 +01:00
Pere Orga
441b7fc8c1 Demos/tests: Losslessly recompress PNG/GIF images. 2013-08-26 10:18:15 -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
445ffd0acc Autocomplete demo: Use custom namespace for combobox. 2013-04-11 20:54:49 -04:00
Corey Frang
38c7b1ca81 Demos: Updating to use instance method on bridge 2013-03-19 16:08:00 +01:00
Scott González
4202ad0718 Autocomplete demo (combobox): Hide select on create. Fixes #9158 - Autocomplete Combobox demo shows underlying select by default. 2013-03-16 15:27:56 -04:00
TJ VanToll
ebd5f13027 Autocomplete: Updated reference in combobox demo. Fixed #9157 - Combobox demo does not show Items 2013-03-16 11:02:57 -04:00
Scott González
c1d04def42 Autocomplete demo (Combobox): Split code into smaller functions. 2013-02-22 17:13:16 -05:00
Scott González
5546e76354 Autocomplete demo (Combobox): Rename selected event to select. 2013-02-22 17:13:16 -05:00
Scott González
ba96cb4772 Autocomplete demo (Combobox): Don't highlight term matches. Fixes #9086 - Autocomplete: Incorrect escaping in combobox demo. 2013-02-22 17:13:16 -05:00
Bruno M. Custódio
b440979ba6 Updating 'jQuery' to 1.9.1. 2013-02-05 13:47:59 +00:00
Scott González
ceebe07e2c Autocomplete: Fix .data() references in demos. Fixes #9029 - Autocomplete: Multiple demo has errors. 2013-01-30 08:36:41 -05:00
Scott González
f20cd5429a Autocomplete demo: Fixed reference to widget instance. 2013-01-24 18:12:26 -05:00
Kris Borchers
34409e7ddd Updating to jQuery 1.9.0 2013-01-17 00:28:41 -06:00
Scott González
f6e99d2021 Autocomplete: Combobox demo - Collapse menu when clicking button. 2012-12-13 16:55:14 -05:00
Scott González
f2854408cc Tooltip: Escape the title attribute so that it's treated as text and not HTML. Fixes #8861 - Tooltip: XSS vulnerability in default content. 2012-11-27 11:21:33 -05:00
Scott González
5fee6fd500 Autocomplete demo: Combobox: Encode search term inside tooltips. Fixes #8859 - Autocomplete: XSS in combobox demo. 2012-11-27 10:52:40 -05:00
Scott González
f0c203a9a0 Autocomplete demo: Combobox cleanup. 2012-11-26 16:13:21 -05:00
Scott González
fb6119e182 Upgrade jQuery to 1.8.3. 2012-11-14 15:22:01 -05:00
Scott González
9202bb7df5 Autocomplete: Removed data fallback for item.autocomplete. Fixes #8156 - Autocomplete: Remove data fallbacks. 2012-10-25 06:47:19 -04:00
Scott González
5405a821b9 Autocomplete cache demo: Let the widget handle request synchronization. Fixes #8616 - Remote autocomplete example can leave pending request tracking out of sync. 2012-10-02 10:21:52 -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
1e6b2b2298 Upgrade jQuery to 1.8.0. 2012-08-13 09:19:09 -04:00