Skip to content

Commit

Permalink
jquery event: misc removal
Browse files Browse the repository at this point in the history
  • Loading branch information
flesler committed Sep 14, 2009
1 parent a273120 commit 681f4fd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/event.js
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit 681f4fd

Please sign in to comment.