mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Widget tests: Fixed _super() call in redefine test.
This commit is contained in:
parent
66f9e12797
commit
93214d6ddc
@ -1031,7 +1031,7 @@ test( "redefine", function() {
|
|||||||
$.widget( "ui.testWidget", $.ui.testWidget, {
|
$.widget( "ui.testWidget", $.ui.testWidget, {
|
||||||
method: function( str ) {
|
method: function( str ) {
|
||||||
equal( str, "foo", "new invoked with correct parameter" );
|
equal( str, "foo", "new invoked with correct parameter" );
|
||||||
this._super();
|
this._super( "bar" );
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user