Sha256: c365d71c961347a88b9c268ee80817c8fffacbc4c963bd37241e51ce0b336d14

Contents?: true

Size: 553 Bytes

Versions: 1

Compression:

Stored size: 553 Bytes

Contents

require 'lotus/assets/compressors/javascript'
require 'uglifier'

module Lotus
  module Assets
    module Compressors
      # Uglifier compressor for JavaScript
      #
      # It depends on <tt>uglifier</tt> gem
      #
      # @since 0.1.0
      # @api private
      #
      # @see http://lisperator.net/uglifyjs
      # @see https://rubygems.org/gems/uglifier
      class UglifierJavascript < Javascript
        # @since 0.1.0
        # @api private
        def initialize
          @compressor = Uglifier.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/uglifier_javascript.rb