Skip to content
Permalink
Browse files

jQuery may be redefined or not exist do to noConflict, so using the g…

…lobal is bad, instead use the scoping function's $
  • Loading branch information...
sroussey committed Jun 18, 2012
1 parent 156f07b commit 392423ca5103554b1f9ec2a60d3f9b39eb1002bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 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*(.*)$/ ),

0 comments on commit 392423c

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