Remove superflous code.
This commit is contained in:
parent
41ad14e6fa
commit
63a83a65c3
|
|
@ -152,10 +152,8 @@ function OutputStream(options) {
|
||||||
case "\x0B": return options.screw_ie8 ? "\\v" : "\\x0B";
|
case "\x0B": return options.screw_ie8 ? "\\v" : "\\x0B";
|
||||||
case "\0":
|
case "\0":
|
||||||
return /[0-7]/.test(str.charAt(i+1)) ? "\\x00" : "\\0";
|
return /[0-7]/.test(str.charAt(i+1)) ? "\\x00" : "\\0";
|
||||||
default:
|
|
||||||
return to_ascii(s);
|
|
||||||
}
|
}
|
||||||
return s;
|
return to_ascii(s);
|
||||||
});
|
});
|
||||||
function quote_single() {
|
function quote_single() {
|
||||||
return "'" + str.replace(/\x27/g, "\\'") + "'";
|
return "'" + str.replace(/\x27/g, "\\'") + "'";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user