- if ( type === "unload" && name !== "one" ) {
- this.one( type, data, fn, thisObject );
-
- } else {
- // Deprecated: Please don't expect an empty jQuery set to bind to document
- (!this.selector && !this.context ? jQuery(document) : this).each(function() {
+ return type === "unload" && name !== "one" ?
+ this.one( type, data, fn, thisObject ) :
+ this.each(function() {