Event: remove guard for falsy handler argument of jQuery#on method

Since we don't have this in off method and its a common perception
that this is a rudiment code

Ref gh-2248
Closes gh-2249
This commit is contained in:
Oleg Gaidarenko
2015-04-30 20:05:18 +03:00
parent 225bde37c9
commit fac67a9842
2 changed files with 0 additions and 16 deletions

View File

@@ -819,8 +819,6 @@ jQuery.fn.extend({
}
if ( fn === false ) {
fn = returnFalse;
} else if ( !fn ) {
return this;
}
if ( one === 1 ) {