Skip to content

Commit

Permalink
Release: fix revert artefacts
Browse files Browse the repository at this point in the history
  • Loading branch information
markelog committed Nov 13, 2015
1 parent de30e4a commit e2af987
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/deprecated.js
Expand Up @@ -30,5 +30,3 @@ jQuery.fn.andSelf = jQuery.fn.addBack;

} );



6 changes: 3 additions & 3 deletions src/wrap.js
Expand Up @@ -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 ] ) {
Expand Down
6 changes: 3 additions & 3 deletions test/unit/deprecated.js
Expand Up @@ -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" );
});
}

0 comments on commit e2af987

Please sign in to comment.