We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c7a752c + f4436bb commit 735a206Copy full SHA for 735a206
1 file changed
lib/closure/compiler.rb
@@ -9,8 +9,11 @@ class Error < StandardError; end
9
# The Closure::Compiler is a basic wrapper around the actual JAR. There's not
10
# much to see here.
11
class Compiler
12
-
13
- DEFAULT_OPTIONS = {:warning_level => 'QUIET'}
+
+ DEFAULT_OPTIONS = {
14
+ :warning_level => 'QUIET',
15
+ :language_in => 'ECMASCRIPT5'
16
+ }
17
18
# When you create a Compiler, pass in the flags and options.
19
def initialize(options={})
0 commit comments