aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2016-03-23 15:03:06 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2016-03-30 23:45:17 +0200
commit6072d150d61655ec07f714e1d58a0bd7baa5ec3f (patch)
tree97ebfcd10460b6333d8429c6b2e255807409d15e /src/event.js
parent693f1b537b0a19cda8b7e8f5379bffa5351b8a6e (diff)
downloadjquery-6072d150d61655ec07f714e1d58a0bd7baa5ec3f.tar.gz
jquery-6072d150d61655ec07f714e1d58a0bd7baa5ec3f.zip
Docs: Update support comments to follow the new syntax
The changes follow the spec proposed in: https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/event.js b/src/event.js
index 8cd8e3faa..ddd117cfe 100644
--- a/src/event.js
+++ b/src/event.js
@@ -22,7 +22,7 @@ function returnFalse() {
return false;
}
-// Support: IE9 only
+// Support: IE <=9 only
// See #13393 for more info
function safeActiveElement() {
try {
@@ -347,11 +347,11 @@ jQuery.event = {
delegateCount = handlers.delegateCount,
cur = event.target;
- // Support (at least): Chrome, IE9
+ // Support: IE <=9
// Find delegate handlers
// Black-hole SVG <use> instance trees (#13180)
//
- // Support: Firefox<=42+
+ // Support: Firefox <=42
// Avoid non-left-click in FF but don't block IE radio events (#3861, gh-2343)
if ( delegateCount && cur.nodeType &&
( event.type !== "click" || isNaN( event.button ) || event.button < 1 ) ) {
@@ -469,7 +469,7 @@ jQuery.event = {
event[ prop ] = originalEvent[ prop ];
}
- // Support: Safari 6-8+
+ // Support: Safari <=6 - 7 only
// Target should not be a text node (#504, #13143)
if ( event.target.nodeType === 3 ) {
event.target = event.target.parentNode;
@@ -558,7 +558,7 @@ jQuery.Event = function( src, props ) {
this.isDefaultPrevented = src.defaultPrevented ||
src.defaultPrevented === undefined &&
- // Support: Android<4.0
+ // Support: Android <=2.3 only
src.returnValue === false ?
returnTrue :
returnFalse;