kopia lustrzana https://github.com/backface/turtlestitch
snap8
rodzic
5fc96d65c9
commit
acf2f5b413
|
@ -7728,7 +7728,7 @@ JSCompiler.prototype.escape = function(string) {
|
||||||
while (len > i) {
|
while (len > i) {
|
||||||
char = string.charAt(i++);
|
char = string.charAt(i++);
|
||||||
if (" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$%&'()*+,-./:;<=>?@[]^_`{|}~".indexOf(char) === -1) {
|
if (" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$%&'()*+,-./:;<=>?@[]^_`{|}~".indexOf(char) === -1) {
|
||||||
escaped += "\\u" + (char.charCodeAt(0) | 0x10000).toString(16).substring(1);
|
escaped += '\\u' + (char.charCodeAt(0) | 0x10000).toString(16).substring(1);
|
||||||
} else {
|
} else {
|
||||||
escaped += char;
|
escaped += char;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue