aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-10-24 11:14:35 -0400
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-10-24 17:44:06 -0400
commit974e5f81964bb2449a5554d1bac1c82beeee9067 (patch)
treee41a3cffdb6d23b0e1b1f6627d58d749502c0c91
parentd67bc412a869938cb85ff02e10a78befd7409a1a (diff)
downloadjquery-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.js22
-rw-r--r--ui/jquery.ui.accordion.js3
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, {