Skip to content

Commit

Permalink
JS version to ES6
Browse files Browse the repository at this point in the history
  • Loading branch information
Milos Ljubinkovic committed Feb 13, 2018
1 parent ffe93f6 commit eb28e78
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public static Object evaluate(Object context, Object self, String expr, CWLRunti
}

Context cx = Context.enter();
cx.setLanguageVersion(Context.VERSION_ES6);
cx.setOptimizationLevel(OPTIMIZATION_LEVEL);
cx.setMaximumInterpreterStackDepth(MAX_STACK_DEPTH);
cx.setClassShutter(new CWLExpressionDenyAllClassShutter());
Expand Down

0 comments on commit eb28e78

Please sign in to comment.