Alexander Schmitz
61232cb745
Widget: Use new has/lacksClasses assertions for all class checks
2015-03-11 16:05:41 -04:00
Alexander Schmitz
c192d4086d
Widget: Add classes option and _add/_remove/_toggleClass methods
...
Fixes #7053
Closes gh-1411
2015-03-11 16:00:04 -04:00
Jörn Zaefferer
ac2a1113bb
Tests: Fix missing wrapper in widget extend unit tests
2015-03-06 16:27:46 +01:00
Scott González
347b2a5ecd
Widget: Fix typos
...
Closes gh-1386
2014-11-10 08:08:37 -05:00
Alexander Schmitz
304c00d0e8
Widget: modify this.window test to support IE8 window equality quirk
...
Comparing this.window with strict equality fails in IE8
2014-08-27 19:33:38 -04:00
Alexander Schmitz
1abf9fc71f
Widget: Ensure window and document are defined in _getCreateOptions()
...
Closes gh-1320
2014-08-27 09:08:01 -04:00
Mike Sherov
aa425ab95d
Build: Pull in jquery.simulate.js from Bower
...
Fixes #10563
2014-08-22 17:01:50 -04:00
Scott González
c017628e11
Tests: Fix composite tests
2014-08-01 12:25:14 -04:00
Scott González
6df127a0b5
Build: Reorganize external directory
...
Put each external library into its own directory.
Move jquery.js to external.
Ref gh-1266
2014-06-24 22:45:32 -04:00
Jörn Zaefferer
a40647f0e5
All: Rename jquery.js to exclude version in filename
2014-03-05 10:19:11 +01:00
Jörn Zaefferer
822f3cd9d0
Tests: Update to sane QUnit markup
2014-02-20 17:05:02 +01:00
Rafael Xavier de Souza
21154cfa2e
All: Rename all files, removing the "jquery.ui." prefix;
...
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271 ;
Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00
Ruslan Yakhyaev
be2a339b2b
Widget: Support events with dashes and colons
...
Fixes #9708
Closes gh-1159
2014-01-16 12:12:04 -05:00
Jyoti Deka
ecde7cd41a
Widget: option-method should work as getter only when argument length is 1. Fixes #9601 - Widget: calling _setOption with undefined as 3rd argument makes it a getter
2013-10-16 22:22:28 +02:00
Jörn Zaefferer
6e799c39d3
Widget Bridge: Make the _init method optional. Add tests for both states. Fixes #9543 - Widget bridge: Make _init() optional.
2013-09-11 22:26:34 +02:00
Alexander Schmitz
787d607f8e
Widget Factory: Fix multiple var statements in test
2013-07-31 17:08:30 -04:00
Alexander Schmitz
c0ab71056b
Widget Factory: Make $.widget return the constructor. Fixes #9467 - Widget factory: Return the constructor from $.widget().
2013-07-31 16:52:21 -04:00
Bruno M. Custódio
0d5eaab9bb
Updating jQuery to 1.10.2.
...
Adding jQuery 1.10.0, 1.10.1, 1.10.2, 2.0.0, 2.0.1, 2.0.2 and 2.0.3 to the
tests directory.
2013-07-05 08:42:37 -04:00
Scott González
2eb89f0734
Widget: Properly set widgetEventPrefix when redefining a widget. Fixes #9316 - Widget: widgetEventPrefix is empty when widget is (occasionally) loaded twice.
2013-05-20 11:30:49 -04:00
Jörn Zaefferer
1c1f7c6184
Widget: Remove copy-pasta leftovers
2013-03-19 17:53:09 +01:00
Jörn Zaefferer
90135b27f8
Widget tests: Use instance method. Also replace a few instances of $.data in widget implementations.
2013-03-19 16:53:35 +01:00
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
Bruno M. Custódio
b440979ba6
Updating 'jQuery' to 1.9.1.
2013-02-05 13:47:59 +00:00
Kris Borchers
34409e7ddd
Updating to jQuery 1.9.0
2013-01-17 00:28:41 -06: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
7312933c88
Widget tests: Fixed order of actual and expected.
2012-12-03 13:57:28 -05:00
Scott González
fb6119e182
Upgrade jQuery to 1.8.3.
2012-11-14 15:22:01 -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
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
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
6bedc0af35
Whitespace.
2012-10-22 15:36:11 -04:00
Scott González
a638acb583
Upgrade jQuery to 1.8.2.
2012-09-20 21:41:47 -04:00
Scott González
1e6b2b2298
Upgrade jQuery to 1.8.0.
2012-08-13 09:19:09 -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
5ae668fdb6
Tests: Enable QUnit.config.requireExpects.
2012-06-27 11:32:48 -04:00
Scott González
8e541f1bf6
Tests: Remove the need to include the 'ui.' prefix in testJshint() now that effects use 'ui.'.
2012-06-15 13:42:00 -04: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
27072de094
Tests: Run JSHint.
2012-04-29 20:22:52 -04:00
Scott González
b042f8ebd6
Tests: Moved loadResources to TestHelpers.
2012-04-23 10:43:01 -04:00