]> source.dussan.org Git - jquery.git/commitdiff
Fix #13078. Remove .live() and .die(). Great rejoicing.
authorDave Methvin <dave.methvin@gmail.com>
Tue, 18 Dec 2012 18:24:05 +0000 (13:24 -0500)
committerDave Methvin <dave.methvin@gmail.com>
Tue, 18 Dec 2012 18:24:05 +0000 (13:24 -0500)
src/event.js

index efbc0c287d6e789d121c8cfc27b659265da81148..adaba76735c95eb302863a7641d0dfd6ee139c19 100644 (file)
@@ -940,15 +940,6 @@ jQuery.fn.extend({
                return this.off( types, null, fn );
        },
 
-       live: function( types, data, fn ) {
-               jQuery( this.context ).on( types, this.selector, data, fn );
-               return this;
-       },
-       die: function( types, fn ) {
-               jQuery( this.context ).off( types, this.selector || "**", fn );
-               return this;
-       },
-
        delegate: function( selector, types, data, fn ) {
                return this.on( types, selector, data, fn );
        },