diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2014-04-25 18:26:36 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2014-06-10 23:28:14 -0400 |
commit | d837f119c3729565103005d5d7fa89e1dd8110cb (patch) | |
tree | 03f41c64a16faab49698d7fa6c2519c79874d706 /src/event.js | |
parent | ff9dcfb0c4238d405af92cbd4ac27e0a36c6ff0c (diff) | |
download | jquery-d837f119c3729565103005d5d7fa89e1dd8110cb.tar.gz jquery-d837f119c3729565103005d5d7fa89e1dd8110cb.zip |
Support: clean up comments and Support notation
Closes gh-1577
Diffstat (limited to 'src/event.js')
-rw-r--r-- | src/event.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/event.js b/src/event.js index f38d70a40..8f04b89c1 100644 --- a/src/event.js +++ b/src/event.js @@ -379,8 +379,8 @@ jQuery.event = { j = 0; while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { - // Triggered event must either 1) have no namespace, or - // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + // Triggered event must either 1) have no namespace, or 2) have namespace(s) + // a subset or equal to those in the bound event (both can have no namespace). if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { event.handleObj = handleObj; @@ -530,7 +530,7 @@ jQuery.event = { event.target = document; } - // Support: Safari 6.0+, Chrome < 28 + // Support: Safari 6.0+, Chrome<28 // Target should not be a text node (#504, #13143) if ( event.target.nodeType === 3 ) { event.target = event.target.parentNode; @@ -635,7 +635,7 @@ jQuery.Event = function( src, props ) { // by a handler lower down the tree; reflect the correct value. this.isDefaultPrevented = src.defaultPrevented || src.defaultPrevented === undefined && - // Support: Android < 4.0 + // Support: Android<4.0 src.returnValue === false ? returnTrue : returnFalse; @@ -725,8 +725,8 @@ jQuery.each({ }; }); -// Create "bubbling" focus and blur events // Support: Firefox, Chrome, Safari +// Create "bubbling" focus and blur events if ( !support.focusinBubbles ) { jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { |