Skip to content

Commit e2af987

Browse files
committed
Release: fix revert artefacts
1 parent de30e4a commit e2af987

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

src/deprecated.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,3 @@ jQuery.fn.andSelf = jQuery.fn.addBack;
3030

3131
} );
3232

33-
34-

src/wrap.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jQuery.fn.extend( {
1010
var wrap;
1111

1212
if ( jQuery.isFunction( html ) ) {
13-
return this.each(function( i ) {
14-
jQuery( this ).wrapAll( html.call(this, i) );
15-
});
13+
return this.each( function( i ) {
14+
jQuery( this ).wrapAll( html.call( this, i ) );
15+
} );
1616
}
1717

1818
if ( this[ 0 ] ) {

test/unit/deprecated.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ QUnit.test( "delegate/undelegate", function( assert ) {
4040
.remove();
4141
} );
4242
if ( jQuery.fn.size ) {
43-
test("size()", function() {
44-
expect(1);
45-
equal( jQuery("#qunit-fixture p").size(), 6, "Get Number of Elements Found" );
43+
QUnit.test("size()", function( assert ) {
44+
assert.expect( 1 );
45+
assert.equal( jQuery("#qunit-fixture p").size(), 6, "Get Number of Elements Found" );
4646
});
4747
}

0 commit comments

Comments
 (0)