Sha256: f4062db303152953c65a1108edc609b70b93c8f360381e51444f681f15f98727

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

require 'lotus/assets/compressors/javascript'
require 'closure-compiler'

module Lotus
  module Assets
    module Compressors
      # Google Closure Compiler for JavaScript
      #
      # Depends on <tt>closure-compiler</tt> gem
      #
      # @see https://developers.google.com/closure/compiler
      # @see https://rubygems.org/gems/closure-compiler
      #
      # @since 0.1.0
      # @api private
      class ClosureJavascript < Javascript
        # @since 0.1.0
        # @api private
        def initialize
          @compressor = Closure::Compiler.new
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lotus-assets-0.1.0 lib/lotus/assets/compressors/closure_javascript.rb