aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tooltip/tooltip_methods.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2015-01-12 17:19:46 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2015-01-13 15:05:54 +0100
commit9d0f44fd7b16a66de1d9b0d8c5e4ab954d83790f (patch)
treed78bd59d06e6f6805abe8245450b96fd33fb0226 /tests/unit/tooltip/tooltip_methods.js
parent8cc636dd448afb8df7147640a7fbfb67f7d53623 (diff)
downloadjquery-ui-9d0f44fd7b16a66de1d9b0d8c5e4ab954d83790f.tar.gz
jquery-ui-9d0f44fd7b16a66de1d9b0d8c5e4ab954d83790f.zip
All: Drop support for jQuery 1.6.x
Affects core, effects, position and widget. Only position has unit tests that fail with jQuery 1.6 without the workaround. Drops the 1.6.x copies jQuery of jQuery and removes them from the select in the testsuites. Fixes #10723 Closes gh-1422
Diffstat (limited to 'tests/unit/tooltip/tooltip_methods.js')
-rw-r--r--tests/unit/tooltip/tooltip_methods.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/unit/tooltip/tooltip_methods.js b/tests/unit/tooltip/tooltip_methods.js
index 8d1b1bd5b..e6641a14a 100644
--- a/tests/unit/tooltip/tooltip_methods.js
+++ b/tests/unit/tooltip/tooltip_methods.js
@@ -70,11 +70,7 @@ test( "enable/disable", function() {
ok( !element.tooltip( "widget" ).hasClass( "ui-state-disabled" ), "element doesn't get ui-state-disabled" );
ok( !element.tooltip( "widget" ).attr( "aria-disabled" ), "element doesn't get aria-disabled" );
ok( !element.tooltip( "widget" ).hasClass( "ui-tooltip-disabled" ), "element doesn't get ui-tooltip-disabled" );
-
- // support: jQuery <1.6.2
- // support: IE <8
- // We should use strictEqual( ..., undefined ) when dropping jQuery 1.6.1 support (or IE6/7)
- ok( !tooltip.attr( "title" ), "title removed on disable" );
+ strictEqual( tooltip.attr( "title" ), undefined, "title removed on disable" );
element.tooltip( "open" );
equal( $( ".ui-tooltip" ).length, 0, "open does nothing when disabled" );
@@ -123,7 +119,7 @@ test( "preserve changes to title attributes on close and destroy", function() {
tests[ 5 ] = { expected: original, method: "destroy" };
$.each( tests, function( index, test ) {
-
+
element.attr( "title", original ).tooltip()
.tooltip( "open", $.Event( "mouseover", { target: element[ 0 ] } ) );
if ( test.title ) {
@@ -133,7 +129,7 @@ test( "preserve changes to title attributes on close and destroy", function() {
}
element.tooltip( test.method );
equal( $( "#tooltipped1" ).attr( "title" ), test.expected );
-
+
} );
});