aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorSteven Roussey <sroussey@gmail.com>2012-06-18 15:09:28 -0700
committerSteven Roussey <sroussey@gmail.com>2012-06-18 15:09:28 -0700
commit392423ca5103554b1f9ec2a60d3f9b39eb1002bf (patch)
tree64f14467491686ea8094f3ea72148082399964bc /ui
parent156f07b48a9476250f4fdbd8816080cf1a9f58c5 (diff)
downloadjquery-ui-392423ca5103554b1f9ec2a60d3f9b39eb1002bf.tar.gz
jquery-ui-392423ca5103554b1f9ec2a60d3f9b39eb1002bf.zip
jQuery may be redefined or not exist do to noConflict, so using the global is bad, instead use the scoping function's $
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.widget.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js
index 5366beefe..dfad19220 100644
--- a/ui/jquery.ui.widget.js
+++ b/ui/jquery.ui.widget.js
@@ -373,7 +373,7 @@ $.Widget.prototype = {
// copy the guid so direct unbinding works
if ( typeof handler !== "string" ) {
handlerProxy.guid = handler.guid =
- handler.guid || handlerProxy.guid || jQuery.guid++;
+ handler.guid || handlerProxy.guid || $.guid++;
}
var match = event.match( /^(\w+)\s*(.*)$/ ),