aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/widget/widget_core.js
Commit message (Collapse)AuthorAgeFilesLines
* Widget: Create lowercase pseudo selectors. Fixes #8433 - Widget: Create ↵Scott González2012-07-091-1/+1
| | | | lowercase pseudo selectors.
* Tests: Enable QUnit.config.requireExpects.Scott González2012-06-271-2/+16
|
* Tests: Remove the need to include the 'ui.' prefix in testJshint() now that ↵Scott González2012-06-151-1/+1
| | | | effects use 'ui.'.
* Widget: Added _off() for removing event handlers. Fixes #7795 - Widget: _on ↵Scott González2012-06-141-0/+77
| | | | and _off.
* Widget: Create eventNamespace property instead of constantly rebuilding it.Scott González2012-06-141-2/+2
|
* Generate a uuid for each widget for unique namespaces. Fixes #8385 - Widget: ↵Jörn Zaefferer2012-06-141-3/+22
| | | | _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-7/+7
|
* Tests: Run JSHint.Scott González2012-04-291-1/+5
|
* Tests: Lint.Scott González2012-04-181-33/+37
|
* Update Widget data naming/usage. Remove unnecessary fallbacks, update ↵Jörn Zaefferer2012-03-011-1/+4
| | | | .removeData to use full name.
* Update data naming for Widget, including backwards compability. Updated ↵Jörn Zaefferer2012-03-011-14/+28
| | | | tests and added one for the custom expression. Partial fix for #7810
* Update to QUnit 1.3. Replace usage of same with deepEqual and equals with equal.Jörn Zaefferer2012-02-291-102/+102
|
* Widget: Allow redefining a widget after other widgets have inherited from it.Scott González2012-02-011-1/+44
|
* Widget: Added _getCreateEventData(). Fixes #8045 - Widget: Ability to ↵Scott González2012-01-211-0/+15
| | | | provide event data for create event.
* Widget tests: Fixed _super() call in redefine test.Scott González2011-11-211-1/+1
|
* Widget: Remove method argument from _super and _superApply. Was a left-over ↵Jörn Zaefferer2011-11-181-5/+5
| | | | from first implementation, not necessary anymore.
* Widget: return timer value from _delayJörn Zaefferer2011-09-121-3/+5
|
* Widget: Add a _delay method. Will be used in various places to replace ↵Jörn Zaefferer2011-09-121-0/+24
| | | | setTimeout with custom binding (mostly getting rid of var self/that)
* Widget: Tests code cleanupJörn Zaefferer2011-09-121-17/+17
|
* Widget: Use this.widget() for event delegation.Scott González2011-08-121-11/+19
|
* Merge branch 'widget-delegation'Jörn Zaefferer2011-07-291-10/+43
|\
| * Widget delegation: Update menu to use _bind with delegation. Clean up test.Jörn Zaefferer2011-07-281-3/+2
| |
| * Widget delegation: Fix impl and add basisc testJörn Zaefferer2011-06-191-0/+34
| |
| * Merge branch 'master' into widget-delegationJörn Zaefferer2011-06-191-0/+19
| |\
| * | WhitespaceJörn Zaefferer2011-06-191-10/+10
| | |
* | | Widget tests: Fixed fragile tests.Scott González2011-07-281-56/+44
| |/ |/|
* | Widget: Added ability to get deep options. Fixes #7459 - Widget: Extend ↵Scott González2011-06-091-0/+19
|/ | | | .option() to get partial nested options.
* Widget: define a null default for the create callback.Scott González2011-04-251-0/+3
|
* Widget: Moved tests out of _tickets into _core.Scott González2011-03-281-0/+88
|
* Widget: Allow setting individual properties of deep options. Fixes #7035 - ↵Scott González2011-03-241-0/+24
| | | | Widget: Extend .option() to set partial nested options.
* Widget: Maintain stack when a method returns a jQuery object. Fixes #5732 - ↵Scott González2011-03-221-2/+8
| | | | Widget: Make the widget method maintain the stack.
* Widget tests: Work around a bug in jQuery core in IE 9rc.Scott González2011-02-261-0/+2
|
* Use #qunit-fixture instead of deprecated #main. Fixes #7031 - Tests usejzaefferer2011-02-231-1/+1
|
* Widget: modified widget to throw exception on attempt to call private ↵William Kevin Manire2011-02-161-2/+9
| | | | methods. Fixed #6947 - Attempt to access private member of widget returns jQuery object
* Widget: Fixed super methods with deep inheritance chains.Scott González2011-02-101-21/+41
|
* Widget: Added ability to use $.widget() to create extensions. Fixes #6937 - ↵Scott González2011-02-031-0/+21
| | | | Widget: Allow redefining a widget to create extensions.
* Merge branch 'master' into widget-eventsScott González2011-01-311-20/+83
|\ | | | | | | | | Conflicts: ui/jquery.ui.widget.js
| * Update wigdet test for previous change. No stored intance via data forjzaefferer2011-01-311-2/+1
| | | | | | | | element == instance.
| * Widget tests: Remove workaround for old QUnit bug.Scott González2011-01-241-5/+1
| |
| * Widget tests: Cleanup.Scott González2011-01-241-16/+13
| |
| * Widget: Allow this.element to be the widget instance instead of a DOM ↵Scott González2011-01-241-1/+31
| | | | | | | | element. Fixes #6895 - Widget: Allow non-DOM based widget.
| * Widget: Added tests for defaultElement and element normalization between ↵Scott González2011-01-231-0/+41
| | | | | | | | jQuery objects, elements and selectors.
* | Widget: Use focusin/focusout for ._focusable().Scott González2011-01-311-8/+12
| |
* | Widget: Added tests for ._hoverable() and ._focusable().Scott González2011-01-241-2/+64
| |
* | Widget: Added "dynamic" bindings via ._bind() to allow for proxying.Scott González2011-01-181-2/+2
| |
* | Widget: Added ._bind() for easily binding events with correct context and ↵Scott González2011-01-181-0/+93
|/ | | | disabled checking. Pretty much a direct copy from the previous bind branch.
* Widget: Added _super() and _superApply() methods. Fixes #6861 - Widget: Add ↵Scott González2011-01-141-0/+53
| | | | _super() and _superApply() for easy access to parent methods.
* Widget: Throw errors for invalid method calls. Fixes #5972 - Widget: Throw ↵Scott González2010-12-101-0/+17
| | | | error for non-existent method calls.
* Widget: Added ability to define how to find options on init. Fixes #6158 - ↵Scott González2010-10-061-0/+26
| | | | Widget: Ability to define new methods for gathering options on init.
* Widget: Added create event. Fixes #6126 - Widget: Add create event.Scott González2010-09-291-10/+14
|