aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-01-19 21:47:23 -0500
committerDave Methvin <dave.methvin@gmail.com>2012-01-19 22:36:08 -0500
commit135bb4ff812d9f97b961670ad9c4ed9d14f333bb (patch)
tree43af456110dfb79c5dc143e8a465bb90291d6e39 /src/event.js
parent8d9025ca50603e5404c6b50f7fa6c87046ee24c1 (diff)
downloadjquery-135bb4ff812d9f97b961670ad9c4ed9d14f333bb.tar.gz
jquery-135bb4ff812d9f97b961670ad9c4ed9d14f333bb.zip
Add undef:true to JSHint now that it understands hoisting
also add smarttabs:true and fix some smarttabs spacing issues
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 63dd7da6b..ccdd49b21 100644
--- a/src/event.js
+++ b/src/event.js
@@ -185,9 +185,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 ) {