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 392423c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.