mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
Optimisation: Use String instead of window.String. Close gh-1176.
Follows-up22e28b01e6
. (cherry picked from commit31478b9012
)
This commit is contained in:
parent
f5163914fa
commit
6b0aa048c9
@ -265,7 +265,7 @@ jQuery.extend({
|
|||||||
converters: {
|
converters: {
|
||||||
|
|
||||||
// Convert anything to text
|
// Convert anything to text
|
||||||
"* text": window.String,
|
"* text": String,
|
||||||
|
|
||||||
// Text to html (true = no transformation)
|
// Text to html (true = no transformation)
|
||||||
"text html": true,
|
"text html": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user