There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ) ) ? | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dmethvin
Author
Member
|
||
function( text ) { | ||
return text == null ? | ||
"" : | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -603,7 +603,7 @@ jQuery.removeEvent = document.removeEventListener ? | ||
|
||
if ( elem.detachEvent ) { | ||
|
||
// #8545, #7054, preventing memory leaks for custom events in IE6-8 – | ||
This comment has been minimized.
Sorry, something went wrong.
johnbender
|
||
// #8545, #7054, preventing memory leaks for custom events in IE6-8 | ||
// detachEvent needed property on element, by name of that event, to properly expose it to GC | ||
if ( typeof elem[ name ] === "undefined" ) { | ||
elem[ name ] = null; | ||
3 comments
on commit a60fed4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should just use UglifyJS's --ascii option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@curiousdannii HOW DID I MISS THAT? I even went over there and read through the options.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I came here to write what @curiousdannii wrote.
Hm.. exactly what is this for? This wasn't a special character, it was an escaped string. I see only plain characters here.