Corey Frang
4fce29e935
Widgets: Updating to use instance method on bridge
2013-03-19 16:08:00 +01:00
Corey Frang
36cb6f264d
Widget: Implement instance method on the bridge to return widget instance - Fixes #9030 - instance
method in widget prototype
2013-03-19 16:07:59 +01:00
Scott González
44d07173db
Widget: Stop setting ui-state-disabled and aria by default on setting 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 23771d38ba
.
2013-03-14 19:08:21 -04:00
Scott González
23771d38ba
Revert "Widget: Stop setting ui-state-disabled and aria by default on setting disabled option." This needs to wait for a major release.
...
This reverts commit 4d67f4f349
.
2013-03-14 15:07:06 -04:00
Mike Sherov
4d67f4f349
Widget: Stop setting ui-state-disabled and aria by default on setting 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
2013-03-11 22:08:21 -04:00
Scott González
83cbf97978
Update copyright year to 2013.
2013-01-10 08:52:20 -05:00
Scott González
8b15aaf496
Widget: Don't modify the prototype passed to $.widget(). Fixes #8876 - Calling _super calls wrong inherited widget.
2012-12-03 14:18:24 -05:00
Scott González
9e858ba14a
Widget: Only use the event prefix from the base if we're redefining a widget. Fixes #8805 - Widget: widgetEventPrefix is incorrect when inheriting with jQuery UI 1.9.1.
2012-11-09 16:49:03 -05:00
Scott González
1cdeeccab0
Widget: Suppress disabled check when binding destroy to the remove event. Fixes #8769 - Widget: ui-state-disabled blocks destroy to be triggered on remove.
2012-11-09 12:54:33 -05:00
Scott González
d44557f50a
Widget: Removed dual storage of widget instances. Fixes #8801 - Widget: Remove data fallbacks for widget names.
2012-11-09 12:51:26 -05:00
Scott González
84cd214486
Widget: Added suppressDisabledCheck flag to _on(). Fixes #8800 - Widget: Ability to use _on() even when disabled.
2012-11-09 12:39:41 -05:00
Avinash R
75bd22eb73
Widget: Bridge falls back to name if there is no widgetFullName, and always stores instances in data. Fixed #8775 - Widget: Bridge fails if widgetFullName is not supplied.
2012-11-07 10:05:00 -05:00
Jörn Zaefferer
b8e0de2444
Effects: Remove deprecated $.effects[]. Fixes #7115 - Effects: Remove support for effects in $.effects[].
2012-10-25 09:29:11 -04:00
Scott González
7678b90ae8
Widget: Removed use of metadata. Fixes #7192 - Widget: Remove use of metadata.
2012-10-25 06:52:29 -04:00
Scott González
cb030cbc1b
Widget: Removed widgetBaseClass property. Fixes #8155 - Widget: Remove widgetBaseClass property.
2012-10-25 06:50:08 -04:00
Scott González
eaadcc0eeb
Widget: Bind the remove event to the element, not the .widget() element.
2012-10-24 12:00:03 -04:00
Jörn Zaefferer
721a4b4ae0
Widget: Fix _on to use element argument for delegated events. Fixes #8658 - Widget: this._on delegates using instance.widget() instead of passed element
2012-10-24 10:42:21 -04:00
Scott González
848ab48583
Widget: Use existing widgetEventPrefix when extending. Fixes #8724 - widgetEventPrefix is lost when extending existing widget.
2012-10-24 10:13:51 -04:00
Marc-Andre Lafortune
8bb05d23e2
Widget: Destroy only when element is the actual target. Fixes #8652 - Widget: Destroy only when element is the actual target.
2012-10-23 14:06:30 -04:00
Scott González
5e0a2ca1e5
Widget: Fixed $.widget.extend() to never copy objects by reference.
2012-10-23 11:45:16 -04:00
Mike Sherov
e1230997aa
Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
...
Squashed commit of the following:
commit 7f19f92c64
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 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Tue Oct 23 08:10:20 2012 -0400
changes per @scott_gonzalez
commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:54:05 2012 -0400
clean up unused vars in ui directory
commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:37:42 2012 -0400
clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Scott González
9b908878ae
Widget: $.widget.extend(): Properly handle extending a string with an object. Fixes #8713 - Passing an object as ui.resizable handles parameter does not work.
2012-10-22 15:36:11 -04:00
Scott González
149567e476
Updated docs URLS.
2012-09-26 18:06:20 -05:00
Scott González
485ca7192a
Simplify licensing.
2012-08-09 15:09:50 -04:00
Scott González
a79d09a905
Widget: Create lowercase pseudo selectors. Fixes #8433 - Widget: Create lowercase pseudo selectors.
2012-07-09 16:02:43 -04:00
Scott González
a4534bb993
Update copyright to jQuery Foundation.
2012-07-04 09:08:08 -04:00
Steven Roussey
392423ca51
jQuery may be redefined or not exist do to noConflict, so using the global is bad, instead use the scoping function's $
2012-06-18 15:09:28 -07:00
Scott González
ff39bed57a
Widget: Added _off() for removing event handlers. Fixes #7795 - Widget: _on and _off.
2012-06-14 12:33:16 -04:00
Scott González
00d4beb0ca
Widget: Create eventNamespace property instead of constantly rebuilding it.
2012-06-14 11:17:20 -04:00
Jörn Zaefferer
28b14ec47c
Generate a uuid for each widget for unique namespaces. Fixes #8385 - Widget: _bind() on elements such as document are dangerous
2012-06-14 10:39:41 -04:00
Scott González
9608e98149
Widget: Rename _bind() to _on(). Partial fix for #7795 - Widget: _on and _off.
2012-06-13 08:00:45 -04:00
Scott González
f0d4da8903
Widget: Work around bug in jQuery <1.6.3 where .removeData( dashed-name ) doesn't work.
2012-06-11 13:30:03 -04:00
Scott González
639afa5954
Lint fixes.
2012-04-02 19:12:21 -04:00
Scott González
932fe888c0
Updated copyright year.
2012-03-08 10:53:08 -05:00
Jörn Zaefferer
2321ae06cb
Remove both widgetName and widgetFullName data
2012-03-01 15:13:52 +01:00
Jörn Zaefferer
5e51b8db28
Update Widget data naming/usage. Remove unnecessary fallbacks, update .removeData to use full name.
2012-03-01 15:03:30 +01:00
Jörn Zaefferer
1b80154832
Widget: Rename widgetBaseClass to widgetFullName. Deprecates widgetBaseClass, to be removed later. Fixes #8154
2012-03-01 14:36:17 +01:00
Jörn Zaefferer
5fda4f6828
Update data naming for Widget, including backwards compability. Updated tests and added one for the custom expression. Partial fix for #7810
2012-03-01 14:30:02 +01:00
jdomnitz
57fe6ed01d
JavaScript "strict mode" fixes
2012-02-12 19:58:56 -05:00
Scott González
8cd4a8330c
Widget: Allow redefining a widget after other widgets have inherited from it.
2012-02-01 16:59:26 -05:00
Scott González
da89fcbc07
Widget: Added _getCreateEventData(). Fixes #8045 - Widget: Ability to provide event data for create event.
2012-01-21 08:45:41 -05:00
Scott González
3cf98e5ca1
Widget: Set guid on event handler proxies so direct unbinding works.
2012-01-07 20:48:42 -05:00
Scott González
5fb9629766
Widget: Simplify data normalization in _trigger().
2011-11-21 11:31:51 -05:00
Scott González
91ef69d750
Widget: Don't use $.event.props when creating events.
2011-11-21 11:14:19 -05:00
Jörn Zaefferer
66f9e12797
Widget: Remove method argument from _super and _superApply. Was a left-over from first implementation, not necessary anymore.
2011-11-18 17:08:40 +01:00
Scott González
1b165148a6
Widget: Set event.target in ._trigger(). Fixes #7852 - Droppable event target changes under jQuery 1.7.
2011-11-10 07:58:58 -05:00
Scott González
8fd6101c3c
Widget: Define this.document properly when instantiating a widget on a document or window. Fixes #7835 - Undefined property when creating widgets.
2011-11-07 08:39:22 -05:00
Scott González
6625060d83
Widget: Use parentWindow if defaultView doesn't exist.
...
Thanks ronchalant
2011-10-21 09:26:07 -04:00
Scott González
a0856efef3
Widget: Added window and document properties. Fixes #7801 - Widget: Add document and window properties.
2011-10-20 16:57:47 -04:00
Corey Frang
2f89f35643
Widget: Refactoring setOptions loop to remove unnesecary closure / that reference
2011-10-19 12:54:08 -05:00