Skip to content

Commit 7b6fd86

Browse files
committed
Accordion: Removed deprecated resize method. Fixes #6839 - Accordion: Remove resize method.
1 parent 481c4f7 commit 7b6fd86

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

tests/unit/accordion/accordion_deprecated.js

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,6 @@ var equalHeight = TestHelpers.accordion.equalHeight,
44
setupTeardown = TestHelpers.accordion.setupTeardown,
55
state = TestHelpers.accordion.state;
66

7-
module( "accordion (deprecated) - resize", setupTeardown() );
8-
9-
test( "resize", function() {
10-
expect( 6 );
11-
var element = $( "#navigation" )
12-
.parent()
13-
.height( 300 )
14-
.end()
15-
.accordion({
16-
heightStyle: "fill"
17-
});
18-
equalHeight( element, 255 );
19-
20-
element.parent().height( 500 );
21-
element.accordion( "resize" );
22-
equalHeight( element, 455 );
23-
});
24-
25-
26-
27-
28-
297
module( "accordion (deprecated) - changestart/change events", setupTeardown() );
308

319
test( "changestart", function() {

ui/jquery.ui.accordion.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,9 +544,6 @@ $.widget( "ui.accordion", {
544544

545545
// DEPRECATED
546546
if ( $.uiBackCompat !== false ) {
547-
// resize method
548-
jQuery.ui.accordion.prototype.resize = jQuery.ui.accordion.prototype.refresh;
549-
550547
// change events
551548
(function( $, prototype ) {
552549
$.extend( prototype.options, {

0 commit comments

Comments
 (0)