aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.widget.js
Commit message (Collapse)AuthorAgeFilesLines
* All: Rename all files, removing the "jquery.ui." prefix;Rafael Xavier de Souza2014-01-241-544/+0
| | | | | | | - By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
* All: Wrap source files with UMD return exportsRafael Xavier de Souza2014-01-241-2/+14
| | | | | Ref #9464 Ref gh-1029
* Widget: Support events with dashes and colonsRuslan Yakhyaev2014-01-161-1/+1
| | | | | Fixes #9708 Closes gh-1159
* Widget: Prefix variables with component name.Scott González2013-10-241-15/+17
|
* Widget: option-method should work as getter only when argument length is 1. ↵Jyoti Deka2013-10-161-2/+2
| | | | Fixes #9601 - Widget: calling _setOption with undefined as 3rd argument makes it a getter
* Widget: Only remove hover and focus classes when disabling, not enabling. ↵Scott González2013-09-161-2/+6
| | | | Fixes #9558 - Widget: .enable() while already enabled kills ui-state-focus and ui-state-hover.
* Widget Bridge: Make the _init method optional. Add tests for both states. ↵Jörn Zaefferer2013-09-111-1/+4
| | | | Fixes #9543 - Widget bridge: Make _init() optional.
* Widget Factory: Make $.widget return the constructor. Fixes #9467 - Widget ↵Alexander Schmitz2013-07-311-0/+2
| | | | factory: Return the constructor from $.widget().
* Widget: Make .enable() and .disable() act via ._setOptions() instead of ↵Gabriel Schulhof2013-07-171-2/+2
| | | | ._setOption().
* Widget: Remove leftover back-compat handling for widget instance storage ↵Scott González2013-07-091-3/+0
| | | | (see #8801).
* Widget: Properly set widgetEventPrefix when redefining a widget. Fixes #9316 ↵Scott González2013-05-201-1/+1
| | | | - Widget: widgetEventPrefix is empty when widget is (occasionally) loaded twice.
* Widgets: Updating to use instance method on bridgeCorey Frang2013-03-191-4/+4
|
* Widget: Implement instance method on the bridge to return widget instance - ↵Corey Frang2013-03-191-0/+4
| | | | Fixes #9030 - `instance` method in widget prototype
* Widget: Stop setting ui-state-disabled and aria by default on setting ↵Scott González2013-03-141-2/+1
| | | | | | | | | | disabled option. Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #6039 - Droppable: disabled should not have ui-state-disabled This reverts commit 23771d38ba9d2663f6db0243c8e992dc7ff6844a.
* Revert "Widget: Stop setting ui-state-disabled and aria by default on ↵Scott González2013-03-141-1/+2
| | | | | | setting disabled option." This needs to wait for a major release. This reverts commit 4d67f4f34908a50ef88f95df4103ee001b777e45.
* Widget: Stop setting ui-state-disabled and aria by default on setting ↵Mike Sherov2013-03-111-2/+1
| | | | | | | | disabled option. Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #6039 - Droppable : disabled should not have ui-state-disabled
* Update copyright year to 2013.Scott González2013-01-101-1/+1
|
* Widget: Don't modify the prototype passed to $.widget(). Fixes #8876 - ↵Scott González2012-12-031-25/+30
| | | | Calling _super calls wrong inherited widget.
* Widget: Only use the event prefix from the base if we're redefining a ↵Scott González2012-11-091-1/+1
| | | | 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ález2012-11-091-1/+1
| | | | 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ález2012-11-091-3/+0
| | | | Remove data fallbacks for widget names.
* Widget: Added suppressDisabledCheck flag to _on(). Fixes #8800 - Widget: ↵Scott González2012-11-091-3/+12
| | | | Ability to use _on() even when disabled.
* Widget: Bridge falls back to name if there is no widgetFullName, and always ↵Avinash R2012-11-071-2/+2
| | | | stores instances in data. Fixed #8775 - Widget: Bridge fails if widgetFullName is not supplied.
* Effects: Remove deprecated $.effects[]. Fixes #7115 - Effects: Remove ↵Jörn Zaefferer2012-10-251-1/+1
| | | | support for effects in $.effects[].
* Widget: Removed use of metadata. Fixes #7192 - Widget: Remove use of metadata.Scott González2012-10-251-7/+0
|
* Widget: Removed widgetBaseClass property. Fixes #8155 - Widget: Remove ↵Scott González2012-10-251-2/+0
| | | | widgetBaseClass property.
* Widget: Bind the remove event to the element, not the .widget() element.Scott González2012-10-241-1/+1
|
* Widget: Fix _on to use element argument for delegated events. Fixes #8658 - ↵Jörn Zaefferer2012-10-241-3/+5
| | | | Widget: this._on delegates using instance.widget() instead of passed element
* Widget: Use existing widgetEventPrefix when extending. Fixes #8724 - ↵Scott González2012-10-241-1/+1
| | | | widgetEventPrefix is lost when extending existing widget.
* Widget: Destroy only when element is the actual target. Fixes #8652 - ↵Marc-Andre Lafortune2012-10-231-1/+7
| | | | Widget: Destroy only when element is the actual target.
* Widget: Fixed $.widget.extend() to never copy objects by reference.Scott González2012-10-231-3/+8
|
* Build: Enable "unused" option in jshint - Remove unused variables from ↵Mike Sherov2012-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | codebase. - Closes gh-788 Squashed commit of the following: commit 7f19f92c646f180bc067bb24123175251a64a9d6 Author: Mike Sherov <mike.sherov@gmail.com> Date: Tue Oct 23 10:34:28 2012 -0400 put back in fake args for signatures that we want to keep commit 257505a9e69da0c53e3a989dab87a13112045a29 Author: Mike Sherov <mike.sherov@gmail.com> Date: Tue Oct 23 08:10:20 2012 -0400 changes per @scott_gonzalez commit 12725480cb58e70865e5aa6e735009b6b035c8f3 Author: Mike Sherov <mike.sherov@gmail.com> Date: Mon Oct 22 22:54:05 2012 -0400 clean up unused vars in ui directory commit 563595e7aee5d4a5c096b2d1de655abdf920aacd Author: Mike Sherov <mike.sherov@gmail.com> Date: Mon Oct 22 22:37:42 2012 -0400 clean up unused vars in grunt and tests
* Widget: $.widget.extend(): Properly handle extending a string with an ↵Scott González2012-10-221-1/+5
| | | | object. Fixes #8713 - Passing an object as ui.resizable handles parameter does not work.
* Updated docs URLS.Scott González2012-09-261-1/+1
|
* Simplify licensing.Scott González2012-08-091-1/+1
|
* Widget: Create lowercase pseudo selectors. Fixes #8433 - Widget: Create ↵Scott González2012-07-091-1/+1
| | | | lowercase pseudo selectors.
* Update copyright to jQuery Foundation.Scott González2012-07-041-1/+2
|
* jQuery may be redefined or not exist do to noConflict, so using the global ↵Steven Roussey2012-06-181-1/+1
| | | | is bad, instead use the scoping function's $
* Widget: Added _off() for removing event handlers. Fixes #7795 - Widget: _on ↵Scott González2012-06-141-0/+5
| | | | and _off.
* Widget: Create eventNamespace property instead of constantly rebuilding it.Scott González2012-06-141-5/+6
|
* Generate a uuid for each widget for unique namespaces. Fixes #8385 - Widget: ↵Jörn Zaefferer2012-06-141-5/+7
| | | | _bind() on elements such as document are dangerous
* Widget: Rename _bind() to _on(). Partial fix for #7795 - Widget: _on and _off.Scott González2012-06-131-5/+5
|
* Widget: Work around bug in jQuery <1.6.3 where .removeData( dashed-name ) ↵Scott González2012-06-111-1/+4
| | | | doesn't work.
* Lint fixes.Scott González2012-04-021-10/+10
|
* Updated copyright year.Scott González2012-03-081-1/+1
|
* Remove both widgetName and widgetFullName dataJörn Zaefferer2012-03-011-0/+3
|
* Update Widget data naming/usage. Remove unnecessary fallbacks, update ↵Jörn Zaefferer2012-03-011-7/+3
| | | | .removeData to use full name.
* Widget: Rename widgetBaseClass to widgetFullName. Deprecates ↵Jörn Zaefferer2012-03-011-5/+7
| | | | widgetBaseClass, to be removed later. Fixes #8154
* Update data naming for Widget, including backwards compability. Updated ↵Jörn Zaefferer2012-03-011-3/+11
| | | | tests and added one for the custom expression. Partial fix for #7810
* JavaScript "strict mode" fixesjdomnitz2012-02-121-1/+1
|