Skip to content

Commit

Permalink
Whitespace cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Jun 20, 2011
1 parent 8b14b35 commit 5297b7b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ui/jquery.ui.widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,14 +319,14 @@ $.Widget.prototype = {
return ( typeof handler === "string" ? instance[ handler ] : handler )
.apply( instance, arguments );
}
var match = event.match( /^(\w+)\s*(.*)$/ );
var eventName = match[1] + "." + instance.widgetName,
var match = event.match( /^(\w+)\s*(.*)$/ ),
eventName = match[1] + "." + instance.widgetName,
selector = match[2];
if (selector === '') {
element.bind( eventName, handlerProxy );
} else {
element.delegate( selector, eventName, handlerProxy );
}
if ( selector === '' ) {
element.bind( eventName, handlerProxy );
} else {
element.delegate( selector, eventName, handlerProxy );
}
});
},

Expand Down

0 comments on commit 5297b7b

Please sign in to comment.