Permalink
Browse files

Release: fix revert artefacts

  • Loading branch information...
markelog committed Nov 13, 2015
1 parent de30e4a commit e2af987877c83e5b054e1f9cac1a8534ebed0b18
Showing with 6 additions and 8 deletions.
  1. +0 −2 src/deprecated.js
  2. +3 −3 src/wrap.js
  3. +3 −3 test/unit/deprecated.js
View
@@ -30,5 +30,3 @@ jQuery.fn.andSelf = jQuery.fn.addBack;
} );
-
-
View
@@ -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
@@ -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.