jquery event: misc removal
This commit is contained in:
parent
a273120291
commit
681f4fd3cd
|
@ -566,9 +566,7 @@ jQuery.each({
|
||||||
jQuery.fn.extend({
|
jQuery.fn.extend({
|
||||||
bind: function( type, data, fn, thisObject ) {
|
bind: function( type, data, fn, thisObject ) {
|
||||||
if ( jQuery.isFunction( data ) ) {
|
if ( jQuery.isFunction( data ) ) {
|
||||||
if ( fn !== undefined ) {
|
thisObject = fn;
|
||||||
thisObject = fn;
|
|
||||||
}
|
|
||||||
fn = data;
|
fn = data;
|
||||||
data = undefined;
|
data = undefined;
|
||||||
}
|
}
|
||||||
|
@ -580,9 +578,7 @@ jQuery.fn.extend({
|
||||||
|
|
||||||
one: function( type, data, fn, thisObject ) {
|
one: function( type, data, fn, thisObject ) {
|
||||||
if ( jQuery.isFunction( data ) ) {
|
if ( jQuery.isFunction( data ) ) {
|
||||||
if ( fn !== undefined ) {
|
thisObject = fn;
|
||||||
thisObject = fn;
|
|
||||||
}
|
|
||||||
fn = data;
|
fn = data;
|
||||||
data = undefined;
|
data = undefined;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue