mirror of
https://github.com/jquery/jquery.git
synced 2026-01-24 23:58:12 -05:00
jquery event: misc removal
This commit is contained in:
@@ -566,9 +566,7 @@ jQuery.each({
|
||||
jQuery.fn.extend({
|
||||
bind: function( type, data, fn, thisObject ) {
|
||||
if ( jQuery.isFunction( data ) ) {
|
||||
if ( fn !== undefined ) {
|
||||
thisObject = fn;
|
||||
}
|
||||
thisObject = fn;
|
||||
fn = data;
|
||||
data = undefined;
|
||||
}
|
||||
@@ -580,9 +578,7 @@ jQuery.fn.extend({
|
||||
|
||||
one: function( type, data, fn, thisObject ) {
|
||||
if ( jQuery.isFunction( data ) ) {
|
||||
if ( fn !== undefined ) {
|
||||
thisObject = fn;
|
||||
}
|
||||
thisObject = fn;
|
||||
fn = data;
|
||||
data = undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user