Commit Graph

31 Commits

Author SHA1 Message Date
Scott González
62799d9122 Widget: Simplified _getCreateOptions(). 2010-10-07 09:06:28 -04:00
Scott González
512825d358 Widget: Added ability to define how to find options on init. Fixes #6158 - Widget: Ability to define new methods for gathering options on init. 2010-10-06 15:11:49 -04:00
Scott González
a2ddfd5107 Widget: Added create event. Fixes #6126 - Widget: Add create event. 2010-09-29 17:36:45 -07:00
Scott González
9d88b565d6 Widget: Added _setOptions method for handling normalized options setting. Fixes #6114 - Widget: Add _setOptions() method. 2010-09-27 11:21:09 -04:00
Daniel Steigerwald
3f9b953117 Widget: Use charAt instead of substring for private method check. 2010-09-20 15:03:42 -04:00
Scott González
0a0a39f896 Widget: Hook into jQuery.cleanData to auto-destroy widgets. Fixes #6008 - Widget: auto-destroy is broken in jQuery 1.4. 2010-09-03 09:49:29 -04:00
Scott González
1e28040cf3 Widget: Throw errors when calling non-existent methods or methods on uninistantiated widgets. Fixes #5972 - Widget: Throw error for non-existent method calls. 2010-08-27 14:48:17 -04:00
Scott González
1cca969c3c Widget: Refactored code for re-initialization to reduce file size. 2010-08-23 15:35:49 -04:00
Scott González
58ae7ce2fd Revert "Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack"
This reverts commit ea58cd5ac0.
2010-07-30 12:38:18 -04:00
jzaefferer
ea58cd5ac0 Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack 2010-07-30 14:26:58 +02:00
jzaefferer
b3940d2f78 Replace element.data(...) with $.data(element, ...). Fixes #5756 - Widget: Use $.data instead of .data for performance reasons 2010-07-30 14:04:11 +02:00
Scott González
f24bc0fb1f Widget: Deep extend options when creating a new plugin. Fixes #5830 - Widget: Using inheritance overwrites the base classes options. 2010-07-15 10:27:21 -04:00
Scott González
8a5d4ca321 All: Added http://jqueryui.com/about to header comments. 2010-07-14 15:45:45 -04:00
Scott González
21aad10e6a All: Define a local undefined variable inside the main closure. 2010-07-13 09:57:58 -04:00
Scott González
ca42e114c3 Merge branch 'master' of github.com:jquery/jquery-ui 2010-07-09 09:02:03 -04:00
Scott González
536ae6189b Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license. 2010-07-09 09:01:04 -04:00
Samuel Cormier-Iijima
89c0961c38 Core (widget): don't pass DOM objects to $.fn.add. Fixes #5743 ($.fn.remove does not trigger remove event for <select>s) 2010-07-09 00:11:06 +08:00
Richard D. Worth
4657bd85bc Changed widget factory to keep generic css framework class -state-disabled in ui namespace instead of custom widget namespace. Fixes #5443 - $.Widget uses [namespace]-state-disabled, must be ui-state-disabled to be useful 2010-03-29 10:00:26 -04:00
Scott González
f775b00cfa Widget: Fixed a problem with the .remove() proxy.
Fixes #5143 - .remove() proxy doesn't work properly.
2010-02-06 02:12:41 +00:00
Richard Worth
074153407d Happy New Year 2010-01-20 14:04:26 +00:00
Scott González
ebf5160587 Widget: removed console.log call. 2010-01-19 13:53:32 +00:00
Scott González
c476541251 Widget: Only trigger remove event if keepData is not set to true.
Fixes #5076 - Using effects kills widget instances with jQuery 1.4.
2010-01-19 04:11:33 +00:00
Scott González
dc17d50a42 Widget: _create() doesn't actually take any arguments. 2010-01-17 17:36:56 +00:00
Scott González
20360688a0 Widget: conform to coding standards. 2010-01-15 22:15:18 +00:00
Scott González
9247295098 Widget factory: Removed support for old usage; it doesn't make sense to keep partial support around since we can't get full backward-compatibility. 2010-01-15 22:06:15 +00:00
Scott González
988cdd5dbc Widget: Make subsequent "init" calls useful by delegating to the option and _init methods.
Fixes #5064 - Widget: make multiple instantiation more useful.
2010-01-15 21:09:32 +00:00
Scott González
003cb9d008 Widget: conform to coding standards. 2010-01-15 20:47:41 +00:00
Scott González
7d96a0d096 Widget factory: Changed _create to _init.
Partial fix for #5064 - Widget: make multiple instantiation more useful.
2010-01-15 18:58:20 +00:00
Scott González
90fb45dffa Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests). 2010-01-07 03:19:50 +00:00
Scott González
06e29401b8 Split mouse into its own file and udpdated dependency lists.
Fixes #5023 - Split mouse code into its own file.
2009-12-22 19:51:24 +00:00
Jörn Zaefferer
b6d17b24d4 extracting widget factory into jquery.ui.widget.js 2009-12-16 22:20:18 +00:00