var wrap;
if ( jQuery.isFunction( html ) ) {
- return this.each(function( i ) {
- jQuery( this ).wrapAll( html.call(this, i) );
- });
+ return this.each( function( i ) {
+ jQuery( this ).wrapAll( html.call( this, i ) );
+ } );
}
if ( this[ 0 ] ) {
.remove();
} );
if ( jQuery.fn.size ) {
- test("size()", function() {
- expect(1);
- equal( jQuery("#qunit-fixture p").size(), 6, "Get Number of Elements Found" );
+ QUnit.test("size()", function( assert ) {
+ assert.expect( 1 );
+ assert.equal( jQuery("#qunit-fixture p").size(), 6, "Get Number of Elements Found" );
});
}