Whitespace cleanup

This commit is contained in:
Jörn Zaefferer 2011-06-20 22:31:28 +02:00
parent 8b14b35dc7
commit 5297b7bc42

View File

@ -319,10 +319,10 @@ $.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 === '') {
if ( selector === '' ) {
element.bind( eventName, handlerProxy );
} else {
element.delegate( selector, eventName, handlerProxy );