Skip to content
Permalink
Browse files

Accordion: Removed deprecated resize method. Fixes #6839 - Accordion:…

… Remove resize method.
  • Loading branch information...
jzaefferer committed Oct 24, 2012
1 parent d67bc41 commit 974e5f81964bb2449a5554d1bac1c82beeee9067
Showing with 0 additions and 25 deletions.
  1. +0 −22 tests/unit/accordion/accordion_deprecated.js
  2. +0 −3 ui/jquery.ui.accordion.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() {
@@ -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, {

0 comments on commit 974e5f8

Please sign in to comment.
You can’t perform that action at this time.