]> source.dussan.org Git - jquery.git/commitdiff
Core: Remove unnecessary parameter to jQuery#constructor
authorYongwoo Jeon <yongwoo.jeon@navercorp.com>
Thu, 2 Jul 2015 06:33:38 +0000 (15:33 +0900)
committerMichał Gołębiowski <m.goleb@gmail.com>
Tue, 8 Sep 2015 00:42:26 +0000 (02:42 +0200)
(cherry-picked from 98cee73244d55910a1ac82bcf6cae04a7f650484)

Closes gh-2441

src/core.js

index 6bc8dc5ab8be931d782e0b0328317cb9f5aa467d..0bab1a80c148dbb56b99aa7de01e67a36de69785 100644 (file)
@@ -106,7 +106,7 @@ jQuery.fn = jQuery.prototype = {
        },
 
        end: function() {
-               return this.prevObject || this.constructor( null );
+               return this.prevObject || this.constructor();
        },
 
        // For internal use only.