Remove superflous code.

This commit is contained in:
Stefan Bethke 2016-10-05 16:49:53 +02:00
parent 41ad14e6fa
commit 63a83a65c3

View File

@ -152,10 +152,8 @@ function OutputStream(options) {
case "\x0B": return options.screw_ie8 ? "\\v" : "\\x0B";
case "\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() {
return "'" + str.replace(/\x27/g, "\\'") + "'";