diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-10-24 11:14:35 -0400 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-10-24 17:44:06 -0400 |
commit | 974e5f81964bb2449a5554d1bac1c82beeee9067 (patch) | |
tree | e41a3cffdb6d23b0e1b1f6627d58d749502c0c91 | |
parent | d67bc412a869938cb85ff02e10a78befd7409a1a (diff) | |
download | jquery-ui-974e5f81964bb2449a5554d1bac1c82beeee9067.tar.gz jquery-ui-974e5f81964bb2449a5554d1bac1c82beeee9067.zip |
Accordion: Removed deprecated resize method. Fixes #6839 - Accordion: Remove resize method.
-rw-r--r-- | tests/unit/accordion/accordion_deprecated.js | 22 | ||||
-rw-r--r-- | ui/jquery.ui.accordion.js | 3 |
2 files changed, 0 insertions, 25 deletions
diff --git a/tests/unit/accordion/accordion_deprecated.js b/tests/unit/accordion/accordion_deprecated.js index 879a26e7b..57dabf418 100644 --- a/tests/unit/accordion/accordion_deprecated.js +++ b/tests/unit/accordion/accordion_deprecated.js @@ -4,28 +4,6 @@ var equalHeight = TestHelpers.accordion.equalHeight, setupTeardown = TestHelpers.accordion.setupTeardown, state = TestHelpers.accordion.state; -module( "accordion (deprecated) - resize", setupTeardown() ); - -test( "resize", function() { - expect( 6 ); - var element = $( "#navigation" ) - .parent() - .height( 300 ) - .end() - .accordion({ - heightStyle: "fill" - }); - equalHeight( element, 255 ); - - element.parent().height( 500 ); - element.accordion( "resize" ); - equalHeight( element, 455 ); -}); - - - - - module( "accordion (deprecated) - changestart/change events", setupTeardown() ); test( "changestart", function() { diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index 53e9189fc..6bafdd91f 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -544,9 +544,6 @@ $.widget( "ui.accordion", { // DEPRECATED if ( $.uiBackCompat !== false ) { - // resize method - jQuery.ui.accordion.prototype.resize = jQuery.ui.accordion.prototype.refresh; - // change events (function( $, prototype ) { $.extend( prototype.options, { |