Release: fix revert artefacts

This commit is contained in:
Oleg Gaidarenko 2015-11-13 17:03:05 +03:00
parent de30e4a73d
commit e2af987877
3 changed files with 6 additions and 8 deletions

View File

@ -30,5 +30,3 @@ jQuery.fn.andSelf = jQuery.fn.addBack;
} ); } );

View File

@ -10,9 +10,9 @@ jQuery.fn.extend( {
var wrap; var wrap;
if ( jQuery.isFunction( html ) ) { if ( jQuery.isFunction( html ) ) {
return this.each(function( i ) { return this.each( function( i ) {
jQuery( this ).wrapAll( html.call(this, i) ); jQuery( this ).wrapAll( html.call( this, i ) );
}); } );
} }
if ( this[ 0 ] ) { if ( this[ 0 ] ) {

View File

@ -40,8 +40,8 @@ QUnit.test( "delegate/undelegate", function( assert ) {
.remove(); .remove();
} ); } );
if ( jQuery.fn.size ) { if ( jQuery.fn.size ) {
test("size()", function() { QUnit.test("size()", function( assert ) {
expect(1); assert.expect( 1 );
equal( jQuery("#qunit-fixture p").size(), 6, "Get Number of Elements Found" ); assert.equal( jQuery("#qunit-fixture p").size(), 6, "Get Number of Elements Found" );
}); });
} }