Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions lib/closure/compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ class Error < StandardError; end
# The Closure::Compiler is a basic wrapper around the actual JAR. There's not
# much to see here.
class Compiler

DEFAULT_OPTIONS = {:warning_level => 'QUIET'}

DEFAULT_OPTIONS = {
:warning_level => 'QUIET',
:language_in => 'ECMASCRIPT5'
}

# When you create a Compiler, pass in the flags and options.
def initialize(options={})
Expand Down