aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/widget/widget_core.js
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Rename filesScott González2015-04-091-1514/+0
| | | | Ref gh-1528
* Widget: Convert tests to new infrastructureScott González2015-04-091-3/+7
| | | | | Ref #10119 Ref gh-1528
* Widget: Use new has/lacksClasses assertions for all class checksAlexander Schmitz2015-03-111-22/+22
|
* Widget: Add classes option and _add/_remove/_toggleClass methodsAlexander Schmitz2015-03-111-1/+4
| | | | | Fixes #7053 Closes gh-1411
* Widget: Fix typosScott González2014-11-101-4/+4
| | | | Closes gh-1386
* Widget: modify this.window test to support IE8 window equality quirkAlexander Schmitz2014-08-271-1/+4
| | | | Comparing this.window with strict equality fails in IE8
* Widget: Ensure window and document are defined in _getCreateOptions()Alexander Schmitz2014-08-271-1/+4
| | | | Closes gh-1320
* Widget: Support events with dashes and colonsRuslan Yakhyaev2014-01-161-2/+17
| | | | | Fixes #9708 Closes gh-1159
* Widget: option-method should work as getter only when argument length is 1. ↵Jyoti Deka2013-10-161-3/+14
| | | | Fixes #9601 - Widget: calling _setOption with undefined as 3rd argument makes it a getter
* Widget Bridge: Make the _init method optional. Add tests for both states. ↵Jörn Zaefferer2013-09-111-1/+12
| | | | Fixes #9543 - Widget bridge: Make _init() optional.
* Widget Factory: Fix multiple var statements in testAlexander Schmitz2013-07-311-3/+3
|
* Widget Factory: Make $.widget return the constructor. Fixes #9467 - Widget ↵Alexander Schmitz2013-07-311-2/+3
| | | | factory: Return the constructor from $.widget().
* Widget: Properly set widgetEventPrefix when redefining a widget. Fixes #9316 ↵Scott González2013-05-201-0/+10
| | | | - Widget: widgetEventPrefix is empty when widget is (occasionally) loaded twice.
* Widget: Remove copy-pasta leftoversJörn Zaefferer2013-03-191-4/+2
|
* Widget tests: Use instance method. Also replace a few instances of $.data in ↵Jörn Zaefferer2013-03-191-20/+21
| | | | widget implementations.
* Widgets: Updating to use instance method on bridgeCorey Frang2013-03-191-2/+5
|
* Widget: Implement instance method on the bridge to return widget instance - ↵Corey Frang2013-03-191-0/+13
| | | | Fixes #9030 - `instance` method in widget prototype
* Widget: Don't modify the prototype passed to $.widget(). Fixes #8876 - ↵Scott González2012-12-031-8/+41
| | | | Calling _super calls wrong inherited widget.
* Widget tests: Fixed order of actual and expected.Scott González2012-12-031-1/+1
|
* Widget: Only use the event prefix from the base if we're redefining a ↵Scott González2012-11-091-2/+6
| | | | 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-0/+6
| | | | 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-12/+6
| | | | Remove data fallbacks for widget names.
* Widget: Added suppressDisabledCheck flag to _on(). Fixes #8800 - Widget: ↵Scott González2012-11-091-0/+40
| | | | Ability to use _on() even when disabled.
* Widget: Bridge falls back to name if there is no widgetFullName, and always ↵Avinash R2012-11-071-0/+53
| | | | stores instances in data. Fixed #8775 - Widget: Bridge fails if widgetFullName is not supplied.
* Widget: Fix _on to use element argument for delegated events. Fixes #8658 - ↵Jörn Zaefferer2012-10-241-0/+24
| | | | Widget: this._on delegates using instance.widget() instead of passed element
* Widget: Use existing widgetEventPrefix when extending. Fixes #8724 - ↵Scott González2012-10-241-0/+15
| | | | widgetEventPrefix is lost when extending existing widget.
* Widget: Destroy only when element is the actual target. Fixes #8652 - ↵Marc-Andre Lafortune2012-10-231-0/+7
| | | | Widget: Destroy only when element is the actual target.
* Build: Enable "unused" option in jshint - Remove unused variables from ↵Mike Sherov2012-10-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: 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
| |