Class: Hanami::Assets::Compressors::ClosureJavascript Private

Inherits:
Javascript show all
Defined in:
lib/hanami/assets/compressors/closure_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.

Google Closure Compiler for JavaScript

Depends on closure-compiler gem

Instance Method Summary collapse

Methods inherited from Javascript

for

Methods inherited from Abstract

#compress

Constructor Details

#initializeClosureJavascript

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 ClosureJavascript.

Since:

  • 0.1.0



19
20
21
# File 'lib/hanami/assets/compressors/closure_javascript.rb', line 19

def initialize
  @compressor = Closure::Compiler.new
end