remove ascii_identifiers
This commit is contained in:
@@ -54,7 +54,6 @@ function OutputStream(options) {
|
|||||||
|
|
||||||
options = defaults(options, {
|
options = defaults(options, {
|
||||||
ascii_only : false,
|
ascii_only : false,
|
||||||
ascii_identifiers: undefined,
|
|
||||||
beautify : false,
|
beautify : false,
|
||||||
bracketize : false,
|
bracketize : false,
|
||||||
comments : false,
|
comments : false,
|
||||||
@@ -78,9 +77,6 @@ function OutputStream(options) {
|
|||||||
wrap_iife : false,
|
wrap_iife : false,
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
if (typeof options.ascii_identifiers === 'undefined')
|
|
||||||
options.ascii_identifiers = options.ascii_only;
|
|
||||||
|
|
||||||
if (options.shorthand === undefined)
|
if (options.shorthand === undefined)
|
||||||
options.shorthand = options.ecma > 5;
|
options.shorthand = options.ecma > 5;
|
||||||
|
|
||||||
|
|||||||
@@ -103,22 +103,6 @@ non_escape_2_non_escape: {
|
|||||||
expect_exact: 'var µþ="µþ";'
|
expect_exact: 'var µþ="µþ";'
|
||||||
}
|
}
|
||||||
|
|
||||||
non_escape_2_half_escape1: {
|
|
||||||
beautify = {ascii_only: false, ascii_identifiers: true, ecma: 6}
|
|
||||||
input: {
|
|
||||||
var µþ = "µþ";
|
|
||||||
}
|
|
||||||
expect_exact: 'var \\u00b5\\u00fe="µþ";'
|
|
||||||
}
|
|
||||||
|
|
||||||
non_escape_2_half_escape2: {
|
|
||||||
beautify = {ascii_only: true, ascii_identifiers: false, ecma: 6}
|
|
||||||
input: {
|
|
||||||
var µþ = "µþ";
|
|
||||||
}
|
|
||||||
expect_exact: 'var µþ="\\xb5\\xfe";'
|
|
||||||
}
|
|
||||||
|
|
||||||
issue_2242_1: {
|
issue_2242_1: {
|
||||||
beautify = {
|
beautify = {
|
||||||
ascii_only: false,
|
ascii_only: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user