mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Update grunt-contrib-jshint to 0.3.0, ref gh-1204.
This commit is contained in:
committed by
Dave Methvin
parent
65a6648932
commit
4adde5d145
@@ -67,7 +67,7 @@ jQuery.event = {
|
||||
tmp = rtypenamespace.exec( types[t] ) || [];
|
||||
type = origType = tmp[1];
|
||||
namespaces = ( tmp[2] || "" ).split( "." ).sort();
|
||||
|
||||
|
||||
// There *must* be a type, no attaching namespace-only handlers
|
||||
if ( !type ) {
|
||||
continue;
|
||||
@@ -413,7 +413,9 @@ jQuery.event = {
|
||||
// Avoid non-left-click bubbling in Firefox (#3861)
|
||||
if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) {
|
||||
|
||||
/* jshint eqeqeq: false */
|
||||
for ( ; cur != this; cur = cur.parentNode || this ) {
|
||||
/* jshint eqeqeq: true */
|
||||
|
||||
// Don't check non-elements (#13208)
|
||||
// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
|
||||
|
||||
Reference in New Issue
Block a user