aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2013-08-22 00:33:57 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2013-09-07 03:14:40 +0200
commiteb9cbfcaf6803a07a953e0ca0922a973c5a11016 (patch)
tree5eefd67f1558a9fd78faa6de8e9264ee12085530
parent0ed397d803415fcd4ef461dbfd6447c1f28ee521 (diff)
downloadjquery-eb9cbfcaf6803a07a953e0ca0922a973c5a11016.tar.gz
jquery-eb9cbfcaf6803a07a953e0ca0922a973c5a11016.zip
No ticket. Update support comments to reflect current state of affairs.
-rw-r--r--src/attributes/support.js2
-rw-r--r--src/core.js2
-rw-r--r--src/css.js4
-rw-r--r--src/manipulation/support.js2
-rw-r--r--test/unit/core.js1
5 files changed, 5 insertions, 6 deletions
diff --git a/src/attributes/support.js b/src/attributes/support.js
index aa9adf265..08c2caf08 100644
--- a/src/attributes/support.js
+++ b/src/attributes/support.js
@@ -9,7 +9,7 @@ define([
input.type = "checkbox";
- // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3
+ // Support: iOS 5.1, Android 4.x, Android 2.3
// Check the default checkbox/radio value ("" on old WebKit; "on" elsewhere)
support.checkOn = input.value !== "";
diff --git a/src/core.js b/src/core.js
index 4103b3832..175208c2d 100644
--- a/src/core.js
+++ b/src/core.js
@@ -342,7 +342,7 @@ jQuery.extend({
if ( obj == null ) {
return String( obj );
}
- // Support: Safari <= 5.1 (functionish RegExp)
+ // Support: Android < 4.0, iOS < 6 (functionish RegExp)
return typeof obj === "object" || typeof obj === "function" ?
class2type[ toString.call(obj) ] || "object" :
typeof obj;
diff --git a/src/css.js b/src/css.js
index a3b9c935b..372924d06 100644
--- a/src/css.js
+++ b/src/css.js
@@ -303,9 +303,9 @@ curCSS = function( elem, name, _computed ) {
ret = jQuery.style( elem, name );
}
- // Support: Safari 5.1
+ // Support: iOS < 6
// A tribute to the "awesome hack by Dean Edwards"
- // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
+ // iOS < 6 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
// this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {
diff --git a/src/manipulation/support.js b/src/manipulation/support.js
index 62c932c11..7435de7d9 100644
--- a/src/manipulation/support.js
+++ b/src/manipulation/support.js
@@ -19,7 +19,7 @@ define([
fragment.appendChild( input );
- // Support: Safari 5.1, Android 4.x, Android 2.3
+ // Support: iOS 5.1, Android 4.x, Android 2.3
// old WebKit doesn't clone checked state correctly in fragments
support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked;
})();
diff --git a/test/unit/core.js b/test/unit/core.js
index da353b464..f00907427 100644
--- a/test/unit/core.js
+++ b/test/unit/core.js
@@ -383,7 +383,6 @@ test("isFunction", function() {
ok( !jQuery.isFunction( 0 ), "0 Value" );
// Check built-ins
- // Safari uses "(Internal Function)"
ok( jQuery.isFunction(String), "String Function("+String+")" );
ok( jQuery.isFunction(Array), "Array Function("+Array+")" );
ok( jQuery.isFunction(Object), "Object Function("+Object+")" );