mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fix #12690. Avoid use of UTF-8 chars in final files.
This commit is contained in:
@@ -605,7 +605,8 @@ jQuery.extend({
|
||||
},
|
||||
|
||||
// Use native String.trim function wherever possible
|
||||
trim: core_trim && !core_trim.call("\uFEFF\xA0") ?
|
||||
// Uglify converts escapes to UTF-8; this circumvents (#12690)
|
||||
trim: core_trim && !core_trim.call( String.fromCharCode( 0xFEFF, 0xA0 ) ) ?
|
||||
function( text ) {
|
||||
return text == null ?
|
||||
"" :
|
||||
|
||||
Reference in New Issue
Block a user