aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-10-22 13:28:51 -0400
committerMike Sherov <mike.sherov@gmail.com>2012-10-22 13:29:43 -0400
commitbede0123d99ed41ef2214edde795927e2a777f8a (patch)
tree80ecc9bb03338459f179c80f2da77644152ffadd /src/event.js
parent227c49a4596423a125bdcb1d25a2263e526360db (diff)
downloadjquery-bede0123d99ed41ef2214edde795927e2a777f8a.tar.gz
jquery-bede0123d99ed41ef2214edde795927e2a777f8a.zip
new JSHINT mixed spaces/tabs is smart enough to not warn on multiline comments, rendering smarttabs useless
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/event.js b/src/event.js
index 499a30397..4b0040528 100644
--- a/src/event.js
+++ b/src/event.js
@@ -160,9 +160,9 @@ jQuery.event = {
handleObj = eventType[ j ];
if ( ( mappedTypes || origType === handleObj.origType ) &&
- ( !handler || handler.guid === handleObj.guid ) &&
- ( !namespaces || namespaces.test( handleObj.namespace ) ) &&
- ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
+ ( !handler || handler.guid === handleObj.guid ) &&
+ ( !namespaces || namespaces.test( handleObj.namespace ) ) &&
+ ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
eventType.splice( j--, 1 );
if ( handleObj.selector ) {