* Set default Javascript language version to 1.7 (rhino.languageVersion = 170)
This commit is contained in:
parent
8897b240c8
commit
3fbb4419c6
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ public final class RhinoCore implements ScopeProvider {
|
|||
// optimization level for rhino engine, ranges from -1 to 9
|
||||
int optLevel = 0;
|
||||
|
||||
// language version
|
||||
int languageVersion = 0;
|
||||
// language version - default to JS 1.7
|
||||
int languageVersion = 170;
|
||||
|
||||
// debugger/tracer flags
|
||||
boolean hasDebugger = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue