diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-01-25 00:05:55 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-01-25 00:05:55 -0500 |
commit | 088ef05142168de75d2afcbe447a5b44cb2d3673 (patch) | |
tree | 25c75a5a1a2dcd70d6c4324c13ae4e49ee4e8c67 /tests/unit/testsuite.js | |
parent | 06d61f5f235f4869bc251ebd1e1e768c56297636 (diff) | |
download | jquery-ui-088ef05142168de75d2afcbe447a5b44cb2d3673.tar.gz jquery-ui-088ef05142168de75d2afcbe447a5b44cb2d3673.zip |
Accordion: Renamed changestart and change events to beforeActivate and activate, respectively. Fixes #6840 - Accordion: Rename changestart event to beforeActivate. Fixes #6842 - Accordion: Rename change event to activate.
Diffstat (limited to 'tests/unit/testsuite.js')
-rw-r--r-- | tests/unit/testsuite.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/unit/testsuite.js b/tests/unit/testsuite.js index 0033182dc..9724a946f 100644 --- a/tests/unit/testsuite.js +++ b/tests/unit/testsuite.js @@ -34,12 +34,14 @@ var privateMethods = [ ]; function testWidgetOverrides( widget ) { - test( "$.widget overrides", function() { - $.each( privateMethods, function( i, method ) { - strictEqual( $.ui[ widget ].prototype[ method ], - $.Widget.prototype[ method ], "should not override " + method ); + if ( $.uiBackCompat === false ) { + test( "$.widget overrides", function() { + $.each( privateMethods, function( i, method ) { + strictEqual( $.ui[ widget ].prototype[ method ], + $.Widget.prototype[ method ], "should not override " + method ); + }); }); - }); + } } function testBasicUsage( widget ) { |