aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tabs/tabs_deprecated.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/tabs/tabs_deprecated.js')
-rw-r--r--tests/unit/tabs/tabs_deprecated.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/unit/tabs/tabs_deprecated.js b/tests/unit/tabs/tabs_deprecated.js
index 4a938c078..297a4546e 100644
--- a/tests/unit/tabs/tabs_deprecated.js
+++ b/tests/unit/tabs/tabs_deprecated.js
@@ -53,20 +53,20 @@ asyncTest( "cache", function() {
var element = $( "#tabs2" ).tabs({
cache: true
});
- element.one( "tabsshow", function( event, ui ) {
+ element.one( "tabsshow", function() {
state( element, 0, 0, 1, 0, 0 );
});
- element.one( "tabsload", function( event, ui ) {
+ element.one( "tabsload", function() {
ok( true, "tabsload" );
setTimeout(function() {
element.tabs( "option", "active", 0 );
state( element, 1, 0, 0, 0, 0 );
- element.one( "tabsshow", function( event, ui ) {
+ element.one( "tabsshow", function() {
state( element, 0, 0, 1, 0, 0 );
});
- element.one( "tabsload", function( event, ui ) {
+ element.one( "tabsload", function() {
ok( false, "should be cached" );
});
element.tabs( "option", "active", 2 );
@@ -159,10 +159,10 @@ asyncTest( "spinner", function() {
var element = $( "#tabs2" ).tabs();
- element.one( "tabsbeforeload", function( event, ui ) {
+ element.one( "tabsbeforeload", function() {
equal( element.find( ".ui-tabs-nav li:eq(2) em" ).length, 1, "beforeload" );
});
- element.one( "tabsload", function( event, ui ) {
+ element.one( "tabsload", function() {
// wait until after the load finishes before checking for the spinner to be removed
setTimeout(function() {
equal( element.find( ".ui-tabs-nav li:eq(2) em" ).length, 0, "load" );
@@ -351,7 +351,7 @@ test( "show", function() {
state( element, 0, 1, 0 );
// collapsing
- element.one( "tabsshow", function( event, ui ) {
+ element.one( "tabsshow", function() {
ok( false, "collapsing" );
});
element.tabs( "option", "active", false );
@@ -391,7 +391,7 @@ test( "select", function() {
state( element, 0, 1, 0 );
// collapsing
- element.one( "tabsselect", function( event, ui ) {
+ element.one( "tabsselect", function() {
ok( false, "collapsing" );
});
element.tabs( "option", "active", false );