Class: Lotus::Assets::Compressors::UglifierJavascript Private

Inherits:
Javascript show all
Defined in:
lib/lotus/assets/compressors/uglifier_javascript.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Uglifier compressor for JavaScript

It depends on uglifier gem

Instance Method Summary collapse

Methods inherited from Javascript

for

Methods inherited from Abstract

#compress

Constructor Details

#initializeUglifierJavascript

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of UglifierJavascript.

Since:

  • 0.1.0


19
20
21
# File 'lib/lotus/assets/compressors/uglifier_javascript.rb', line 19

def initialize
  @compressor = Uglifier.new
end