Update grunt-contrib-jshint to 0.3.0, ref gh-1204.

This commit is contained in:
Michał Gołębiowski
2013-03-14 00:23:36 +01:00
committed by Dave Methvin
parent 65a6648932
commit 4adde5d145
13 changed files with 38 additions and 31 deletions

View File

@@ -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)