diff options
-rw-r--r-- | tests/unit/tabs/tabs_deprecated.js | 7 | ||||
-rw-r--r-- | ui/jquery.ui.tabs.js | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/tests/unit/tabs/tabs_deprecated.js b/tests/unit/tabs/tabs_deprecated.js index b93417375..2de612853 100644 --- a/tests/unit/tabs/tabs_deprecated.js +++ b/tests/unit/tabs/tabs_deprecated.js @@ -468,13 +468,6 @@ test( "select", function() { equal( element.tabs( "option", "selected" ), 1, "selected" ); }); -test( "length", function() { - expect( 2 ); - - equal( $( "#tabs1" ).tabs().tabs( "length" ), 3, "basic tabs" ); - equal( $( "#tabs2" ).tabs().tabs( "length" ), 5, "ajax tabs with missing panels" ); -}); - asyncTest( "abort", function() { expect( 1 ); diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 76216bfc9..5f6d87eee 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -1021,13 +1021,6 @@ if ( $.uiBackCompat !== false ) { } }); - // length method - $.widget( "ui.tabs", $.ui.tabs, { - length: function() { - return this.anchors.length; - } - }); - // panel ids (idPrefix option + title attribute) $.widget( "ui.tabs", $.ui.tabs, { options: { |