mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Widget tests: Work around a bug in jQuery core in IE 9rc.
This commit is contained in:
parent
48f060ac25
commit
ffb96bc972
@ -29,6 +29,8 @@ test( "element normalization", function() {
|
|||||||
$.widget( "ui.testWidget", {} );
|
$.widget( "ui.testWidget", {} );
|
||||||
|
|
||||||
$.ui.testWidget.prototype._create = function() {
|
$.ui.testWidget.prototype._create = function() {
|
||||||
|
// workaround for core ticket #8381
|
||||||
|
this.element.appendTo( "#qunit-fixture" );
|
||||||
ok( this.element.is( "div" ), "generated div" );
|
ok( this.element.is( "div" ), "generated div" );
|
||||||
same( this.element.data( "testWidget" ), this, "intance stored in .data()" );
|
same( this.element.data( "testWidget" ), this, "intance stored in .data()" );
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user