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;
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 ] ) {

View File

@ -40,8 +40,8 @@ QUnit.test( "delegate/undelegate", function( assert ) {
.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" );
});
}