mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Use the correct escape for BOM; add build code to detect non-ASCII.
This commit is contained in:
@@ -605,7 +605,7 @@ jQuery.extend({
|
||||
},
|
||||
|
||||
// Use native String.trim function wherever possible
|
||||
trim: core_trim && !core_trim.call("\xFEFF\xA0") ?
|
||||
trim: core_trim && !core_trim.call("\uFEFF\xA0") ?
|
||||
function( text ) {
|
||||
return text == null ?
|
||||
"" :
|
||||
|
||||
Reference in New Issue
Block a user