class YUI::JavaScriptCompressor
def initialize(options = {})
JSLint.
after each statement to appease tools like
Compressor will ensure semicolons exist
:preserve_semicolons:: Defaults to +false+. If +true+, YUI
Defaults to +true+.
declarations to use as few characters as possible.
JavaScript object property access and object literal
:optimize:: Specifies whether YUI Compressor should optimize
variable names when possible. Defaults to +false+.
:munge:: Specifies whether YUI Compressor should shorten local
newline is added after each JavaScript statement.
newline is added. If :line_break is 0, a
maximum number of characters in each line before a
single line. Use this option to specify the
:line_break:: By default, JavaScript will be compressed onto a
"utf-8".
:charset:: Specifies the character encoding to use. Defaults to
Options are:
Creates a new YUI::JavaScriptCompressor for minifying JavaScript code.
def initialize(options = {}) super end