aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.widget.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2011-06-20 22:31:28 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2011-06-20 22:31:28 +0200
commit5297b7bc4250462213b05ad2763fe99d0f8dedec (patch)
treeba6fb184672291fafd1f4614b69598045b6de161 /ui/jquery.ui.widget.js
parent8b14b35dc72afce16b544b011a04d1e5ea1b7344 (diff)
downloadjquery-ui-5297b7bc4250462213b05ad2763fe99d0f8dedec.tar.gz
jquery-ui-5297b7bc4250462213b05ad2763fe99d0f8dedec.zip
Whitespace cleanup
Diffstat (limited to 'ui/jquery.ui.widget.js')
-rw-r--r--ui/jquery.ui.widget.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js
index 0e5695d97..d154185d5 100644
--- a/ui/jquery.ui.widget.js
+++ b/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 );
+ }
});
},