We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a60fed4 commit 798a7a7Copy full SHA for 798a7a7
grunt.js
@@ -112,7 +112,11 @@ module.exports = function( grunt ) {
112
],
113
tasks: "dev"
114
},
115
- uglify: {}
+ uglify: {
116
+ codegen: {
117
+ ascii_only: true
118
+ }
119
120
});
121
122
// Default grunt.
src/core.js
@@ -605,8 +605,7 @@ jQuery.extend({
605
606
607
// Use native String.trim function wherever possible
608
- // Uglify converts escapes to UTF-8; this circumvents (#12690)
609
- trim: core_trim && !core_trim.call( String.fromCharCode( 0xFEFF, 0xA0 ) ) ?
+ trim: core_trim && !core_trim.call("\xFEFF\xA0") ?
610
function( text ) {
611
return text == null ?
612
"" :
0 commit comments