mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Make ECMA v6 the default for devtools pretty-printing.
This commit is contained in:
parent
0db18745f4
commit
17f1bcac4c
2 changed files with 2 additions and 2 deletions
|
|
@ -1068,7 +1068,7 @@ var Debugger =
|
|||
// be either 3, or 5, or 6. This influences support for strict
|
||||
// mode, the set of reserved words, support for getters and
|
||||
// setters and other features.
|
||||
ecmaVersion: 5,
|
||||
ecmaVersion: 6,
|
||||
// Turn on `strictSemicolons` to prevent the parser from doing
|
||||
// automatic semicolon insertion.
|
||||
strictSemicolons: false,
|
||||
|
|
|
|||
|
|
@ -1299,7 +1299,7 @@ var defaultOptions = {
|
|||
// be either 3, or 5, or 6. This influences support for strict
|
||||
// mode, the set of reserved words, support for getters and
|
||||
// setters and other features.
|
||||
ecmaVersion: 5,
|
||||
ecmaVersion: 6,
|
||||
// Source type ("script" or "module") for different semantics
|
||||
sourceType: "script",
|
||||
// `onInsertedSemicolon` can be a callback that will be called
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue