aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2014-02-13 14:49:40 -0800
committerMichał Gołębiowski <m.goleb@gmail.com>2014-02-13 14:49:40 -0800
commita0b19f7715c30db0b7a68cb2bd0f9b88a0306114 (patch)
treedd5cd43062ccbeccc2bbdccde432679b3da6f9db /src
parent483ad0309c17275cd9d7d6df9b58ca7d3354d8d6 (diff)
downloadjquery-a0b19f7715c30db0b7a68cb2bd0f9b88a0306114.tar.gz
jquery-a0b19f7715c30db0b7a68cb2bd0f9b88a0306114.zip
Core: Correct support comments for String.prototype.trim
Diffstat (limited to 'src')
-rw-r--r--src/core.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index 9b87b00b1..b07463ca1 100644
--- a/src/core.js
+++ b/src/core.js
@@ -21,7 +21,8 @@ var
return new jQuery.fn.init( selector, context );
},
- // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE)
+ // Support: Android<4.1, IE<9
+ // Make sure we trim BOM and NBSP
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
// Matches dashed string for camelizing
@@ -347,6 +348,7 @@ jQuery.extend({
return obj;
},
+ // Support: Android<4.1, IE<9
// Use native String.trim function wherever possible
trim: trim && !trim.call("\uFEFF\xA0") ?
function( text ) {