зеркало из https://github.com/mozilla/rhino.git
Update Shell to use Context.VERSION_ES6 by default
resolves https://github.com/mozilla/rhino/issues/1279
This commit is contained in:
Родитель
f8a0a82fa8
Коммит
06d5f67ca7
|
@ -13,7 +13,7 @@ import org.mozilla.javascript.ErrorReporter;
|
|||
public class ShellContextFactory extends ContextFactory {
|
||||
private boolean strictMode;
|
||||
private boolean warningAsError;
|
||||
private int languageVersion = Context.VERSION_1_8;
|
||||
private int languageVersion = Context.VERSION_ES6;
|
||||
private int optimizationLevel;
|
||||
private boolean generatingDebug;
|
||||
private boolean allowReservedKeywords = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче