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

This commit is contained in:
Jörn Zaefferer 2012-10-24 11:14:35 -04:00
parent d67bc412a8
commit 974e5f8196
2 changed files with 0 additions and 25 deletions

View File

@ -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() {

View File

@ -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, {