aboutsummaryrefslogtreecommitdiffstats
path: root/demos
Commit message (Collapse)AuthorAgeFilesLines
* Demos: Make autocomplete demos work on jqueryui.comMichał Gołębiowski-Owczarek2024-07-301-1/+14
| | | | | | | | | | | | | | | | | The `jqueryui.com` demos build process deAMDifies HTML files, replacing required JS files with direct script tags. On the other hand, when running demos locally from the jQuery UI repository, RequireJS is used. This used to work fine until we got a new `search.js` file introduced in gh-2187. The deAMDifying process doesn't touch non-HTML files which made loading autocomplete demos crash on "require is not a function" To resolve the issues without a major rearchitecture of the build process, the `search.js` file now detects AMD and uses `require`, falling back to relying on the `jQuery` global in the other case. Closes gh-2274 Ref gh-2187 Ref jquery/jqueryui.com#216
* All: Remove the deprecated `ui/core.js` fileMichał Gołębiowski-Owczarek2024-05-151-5/+0
| | | | | | Also, fix checkboxradio visual tests. Ref gh-2249
* All: Drop support for IE & some other browsers (but mostly IE)Michał Gołębiowski-Owczarek2024-05-153-11/+1
| | | | Closes gh-2249
* Docs: Change a few most common domains from HTTP to HTTPSMichał Gołębiowski-Owczarek2024-04-261-1/+1
| | | | | Also, update a few stale URLs to what they redirect now to. Closes gh-2244
* Update custom_render.html (#2242)mark van tilburg2024-04-2513-23/+23
| | | | | This fixes mixed content errors on the selectmenu demo page at jqueryui.com. Closes gh-2242
* Docs: remove a duplicated "be" in an accordion demodivdeploy2024-04-121-1/+1
| | | | | Closes gh-2233 Signed-off-by: divdeploy <chenguangxue@outlook.com>
* demos: Replace search.php with $.ajaxTransport() mockTimo Tijhof2024-01-039-611/+645
| | | | Fixes jquery/jqueryui.com#203 Closes gh-2187
* Demos:Tests: Avoid self-closing HTML tagsMichał Gołębiowski-Owczarek2023-05-1017-24/+24
| | | | | | | | | 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
* Demos: Optimize PNG filesДилян Палаузов2022-12-202-0/+0
| | | | | | | Optimization done by calling: for i in `find -name '*.png'`; do optipng -o7 -zm9 $i; done Closes gh-2132
* Demos: Better wording for the purposefully broken tabDeerBear2022-12-061-2/+2
| | | | | Fix both grammar and punctuation in one tabs demo. Closes gh-2139
* All: Remove deprecated .click() usage in demos/testsMichał Gołębiowski-Owczarek2022-07-142-2/+2
|
* Build: Migrate from JSHint & JSCS to ESLintMichał Gołębiowski-Owczarek2021-06-072-0/+6
| | | | | Fixes #15393 Closes gh-1958
* All: Resolve most jQuery Migrate warningsMichał Gołębiowski-Owczarek2020-05-161-1/+1
| | | Closes gh-1919
* All: Remove usage of jQuery positional selectorsMichał Gołębiowski-Owczarek2020-01-221-12/+12
| | | | | | | | | | | | | | | | | 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
* Sortable: Remove reference to .disableSelection() from demosGez Quinn2019-12-091-1/+0
| | | | | | `.disableSelection()` was deprecated in v1.9: http://api.jqueryui.com/disableSelection/ Closes gh-1856
* All: Migrate away from deprecated/removed Core APIsMichał Gołębiowski-Owczarek2019-12-082-2/+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
* All: Remove uses of `jQuery.proxy()`Scott González2017-05-171-1/+1
| | | | | Ref #15160 Closes gh-1813
* Demos: Fix a typo with an extra semicolonRobert Brignull2017-05-101-1/+1
| | | | Closes gh-1812
* Themes: Optimize PNG files with zopflipngJo Liss2016-11-291-0/+0
| | | | Closes gh-1772
* Tabs: Don't blur focused tab on sortScott González2016-10-121-1/+12
| | | | | Fixes #14627 Closes gh-1761
* Autocomplete: Escape HTML tags in callback name to avoid XSS in demoScott González2016-09-221-1/+4
| | | | Fixes #15048
* Slider: Add demo for custom handleScott González2016-09-132-0/+43
| | | | | Fixes #15023 Closes gh-1740
* Autocomplete: Remove unreachable code in remote demoScott González2016-09-011-3/+1
|
* Autocomplete: Change JSONP demo to use local data sourceScott González2016-09-012-17/+19
| | | | Fixes #14974
* Demos: Optimize *.png with zopflipngVille Skyttä2016-08-243-0/+0
| | | | | | zopflipng -m, version 1.0.1. Closes gh-1726
* All: Replace non-breaking spaces with regular spacesScott González2016-06-082-2/+2
|
* All: Optimize png images losslessly using zopflipngPeter Dave Hello2016-06-0612-0/+0
| | | | Closes gh-1710
* Controlgroup: Fix rendering of labelsAlexander Schmitz2016-05-261-1/+1
| | | | | Fixes #14967 Closes gh-1703
* Selectmenu: Added missing semicolonAnne-Gaelle Colom2016-03-301-1/+1
| | | | Closes gh-1689
* Controlgroup: Fix quote style in demoScott González2016-02-161-1/+1
|
* Draggable: Change element ids in demoScott González2015-11-091-2/+2
|
* Demos: Link widget demo to learn siteJörn Zaefferer2015-10-301-0/+1
| | | | | Ref jquery/jqueryui.com#39 Closes gh-1637
* Demos: Replace with ffb33daa229c62c7095cff39cde034f84ef54b15Jörn Zaefferer2015-10-081-1/+1
|
* Controlgroup: Update toolbar demo to warn about "this is just a demo"Jörn Zaefferer2015-10-081-2/+3
|
* Controlgroup: Address review commentsAlexander Schmitz2015-10-081-9/+10
|
* Checkboxradio: Address review commentsAlexander Schmitz2015-10-083-27/+42
|
* Button: address review commentsAlexander Schmitz2015-10-081-7/+7
|
* Controlgroup: Fixes for spinnerAlexander Schmitz2015-10-081-2/+0
|
* Controlgroup: fixup for spinner and labelAlexander Schmitz2015-10-081-2/+4
|
* Controlgroup: Add controlgroup labelsAlexander Schmitz2015-10-082-228/+256
|
* Controlgroup: Add spinner to widgets controlgroup works withAlexander Schmitz2015-10-081-1/+4
|
* Controlgroup: Fix headers and demosAlexander Schmitz2015-10-083-25/+37
|
* Controlgroup: Add missing entry to demos bootstrapAlexander Schmitz2015-10-083-36/+6
|
* Controlgroup: add demos to bootstrapAlexander Schmitz2015-10-081-0/+1
|
* Demos: Add checkboxradio to bootstrapAlexander Schmitz2015-10-081-0/+1
|
* Checkboxxradio: Adjust demo headersAlexander Schmitz2015-10-082-2/+2
|
* Spinner: Updates for new button widget and classes optionAlexander Schmitz2015-10-088-230/+12
|
* Controlgroup: Inital commit of new widgetAlexander Schmitz2015-10-077-101/+97
| | | | This widget replaces the buttonset widget
* Checkboxradio: Initial commit of new widgetAlexander Schmitz2015-10-0715-0/+746
|
* Button: Initial commit of button re-factorAlexander Schmitz2015-10-075-114/+67
| | | | | | Move to using element stats rather then js class states remove ui-button-text spans. Removed button set