Skip to content
Permalink
Browse files

Whitespace cleanup

  • Loading branch information
jzaefferer committed Jun 20, 2011
1 parent 8b14b35 commit 5297b7bc4250462213b05ad2763fe99d0f8dedec
Showing with 7 additions and 7 deletions.
  1. +7 −7 ui/jquery.ui.widget.js
@@ -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 );
}
});
},

0 comments on commit 5297b7b

Please sign in to comment.
You can’t perform that action at this time.