aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.accordion.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-10-24 11:11:47 -0400
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-10-24 17:44:06 -0400
commitd67bc412a869938cb85ff02e10a78befd7409a1a (patch)
tree3db8b1449eb19ba058468c970e4575b821ed6072 /ui/jquery.ui.accordion.js
parentfd952c5a7956ac583a44475f481bdec9efa7857b (diff)
downloadjquery-ui-d67bc412a869938cb85ff02e10a78befd7409a1a.tar.gz
jquery-ui-d67bc412a869938cb85ff02e10a78befd7409a1a.zip
Accordion: Removed deprecated activate method and expanded active option. Fixes #6837 - Accordion: Remove the activate method. Fixes #6853 - Accordion: Remove support for non-number/falsey values for active option.
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r--ui/jquery.ui.accordion.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js
index 76076131d..53e9189fc 100644
--- a/ui/jquery.ui.accordion.js
+++ b/ui/jquery.ui.accordion.js
@@ -544,25 +544,6 @@ $.widget( "ui.accordion", {
// DEPRECATED
if ( $.uiBackCompat !== false ) {
- // expanded active option, activate method
- (function( $, prototype ) {
- prototype.activate = prototype._activate;
-
- var _findActive = prototype._findActive;
- prototype._findActive = function( index ) {
- if ( index === -1 ) {
- index = false;
- }
- if ( index && typeof index !== "number" ) {
- index = this.headers.index( this.headers.filter( index ) );
- if ( index === -1 ) {
- index = false;
- }
- }
- return _findActive.call( this, index );
- };
- }( jQuery, jQuery.ui.accordion.prototype ) );
-
// resize method
jQuery.ui.accordion.prototype.resize = jQuery.ui.accordion.prototype.refresh;