]> source.dussan.org Git - jquery.git/commitdiff
Release: fix revert artefacts
authorOleg Gaidarenko <markelog@gmail.com>
Fri, 13 Nov 2015 14:03:05 +0000 (17:03 +0300)
committerOleg Gaidarenko <markelog@gmail.com>
Fri, 13 Nov 2015 17:04:49 +0000 (20:04 +0300)
src/deprecated.js
src/wrap.js
test/unit/deprecated.js

index dfd06826a2d709400ec54c679baa3e068c68f1c6..c82989007ca4c12f57b5ae56dbe82e4d10f31cb3 100644 (file)
@@ -30,5 +30,3 @@ jQuery.fn.andSelf = jQuery.fn.addBack;
 
 } );
 
-
-
index e43794448af1d94f492aa72946ae763efd87bb1c..4d2c3b20440f3e7bce1338fe81a6d00972217a24 100644 (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 ] ) {
index a033135bff0727bd7e07adae13ab8b7d054d6006..9dfd515ceafcf86317bda9c7e69a9d54135fa543 100644 (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" );
        });
 }