diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2016-03-23 15:03:06 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-03-30 23:45:17 +0200 |
commit | 6072d150d61655ec07f714e1d58a0bd7baa5ec3f (patch) | |
tree | 97ebfcd10460b6333d8429c6b2e255807409d15e /src/core.js | |
parent | 693f1b537b0a19cda8b7e8f5379bffa5351b8a6e (diff) | |
download | jquery-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/core.js')
-rw-r--r-- | src/core.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core.js b/src/core.js index e86ae2048..a9898e51d 100644 --- a/src/core.js +++ b/src/core.js @@ -24,7 +24,7 @@ var return new jQuery.fn.init( selector, context ); }, - // Support: Android<4.1 + // Support: Android <=4.0 only // Make sure we trim BOM and NBSP rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, @@ -262,7 +262,7 @@ jQuery.extend( { return obj + ""; } - // Support: Android<4.0 (functionish RegExp) + // Support: Android <=2.3 only (functionish RegExp) return typeof obj === "object" || typeof obj === "function" ? class2type[ toString.call( obj ) ] || "object" : typeof obj; @@ -305,7 +305,7 @@ jQuery.extend( { return obj; }, - // Support: Android<4.1 + // Support: Android <=4.0 only trim: function( text ) { return text == null ? "" : @@ -334,7 +334,7 @@ jQuery.extend( { return arr == null ? -1 : indexOf.call( arr, elem, i ); }, - // Support: Android<4.1, PhantomJS<2 + // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit merge: function( first, second ) { var len = +second.length, @@ -458,7 +458,7 @@ function( i, name ) { function isArrayLike( obj ) { - // Support: iOS 8.2 (not reproducible in simulator) + // Support: real iOS 8.2 only (not reproducible in simulator) // `in` check used to prevent JIT error (gh-2145) // hasOwn isn't used here due to false negatives // regarding Nodelist length in IE |