aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation
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/manipulation
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/manipulation')
-rw-r--r--src/manipulation/buildFragment.js4
-rw-r--r--src/manipulation/getAll.js2
-rw-r--r--src/manipulation/support.js4
-rw-r--r--src/manipulation/wrapMap.js4
4 files changed, 7 insertions, 7 deletions
diff --git a/src/manipulation/buildFragment.js b/src/manipulation/buildFragment.js
index cfdd1c0e6..1db3caa38 100644
--- a/src/manipulation/buildFragment.js
+++ b/src/manipulation/buildFragment.js
@@ -24,7 +24,7 @@ function buildFragment( elems, context, scripts, selection, ignored ) {
// Add nodes directly
if ( jQuery.type( elem ) === "object" ) {
- // Support: Android<4.1, PhantomJS<2
+ // Support: Android <=4.0 only, PhantomJS 1 only
// push.apply(_, arraylike) throws on ancient WebKit
jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );
@@ -47,7 +47,7 @@ function buildFragment( elems, context, scripts, selection, ignored ) {
tmp = tmp.lastChild;
}
- // Support: Android<4.1, PhantomJS<2
+ // Support: Android <=4.0 only, PhantomJS 1 only
// push.apply(_, arraylike) throws on ancient WebKit
jQuery.merge( nodes, tmp.childNodes );
diff --git a/src/manipulation/getAll.js b/src/manipulation/getAll.js
index a5a0ccaf2..5f3141048 100644
--- a/src/manipulation/getAll.js
+++ b/src/manipulation/getAll.js
@@ -4,7 +4,7 @@ define( [
function getAll( context, tag ) {
- // Support: IE9-11 only
+ // Support: IE <=9 - 11 only
// Use typeof to avoid zero-argument method invocation on host objects (#15151)
var ret = typeof context.getElementsByTagName !== "undefined" ?
context.getElementsByTagName( tag || "*" ) :
diff --git a/src/manipulation/support.js b/src/manipulation/support.js
index da474e0a3..d01c439ee 100644
--- a/src/manipulation/support.js
+++ b/src/manipulation/support.js
@@ -18,11 +18,11 @@ define( [
div.appendChild( input );
- // Support: Android<4.2
+ // Support: Android <=4.1 only
// Older WebKit doesn't clone checked state correctly in fragments
support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;
- // Support: IE<=11 only
+ // Support: IE <=11 only
// Make sure textarea (and checkbox) defaultValue is properly cloned
div.innerHTML = "<textarea>x</textarea>";
support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;
diff --git a/src/manipulation/wrapMap.js b/src/manipulation/wrapMap.js
index fdb430a03..921c2eac5 100644
--- a/src/manipulation/wrapMap.js
+++ b/src/manipulation/wrapMap.js
@@ -3,7 +3,7 @@ define( function() {
// We have to close these tags to support XHTML (#13200)
var wrapMap = {
- // Support: IE9
+ // Support: IE <=9 only
option: [ 1, "<select multiple='multiple'>", "</select>" ],
// XHTML parsers do not magically insert elements in the
@@ -17,7 +17,7 @@ var wrapMap = {
_default: [ 0, "", "" ]
};
-// Support: IE9
+// Support: IE <=9 only
wrapMap.optgroup = wrapMap.option;
wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;