Sha256: a7f2ee9c4115543c96219294765dbee4f0cdc4c4da4df62a87a5830782274100

Contents?: true

Size: 595 Bytes

Versions: 1

Compression:

Stored size: 595 Bytes

Contents

require 'lotus/assets/compressors/javascript'
require 'yui/compressor'

module Lotus
  module Assets
    module Compressors
      # YUI Compressor for JavaScript
      #
      # It depends on <tt>yui-compressor</tt> gem
      #
      # @since 0.1.0
      # @api private
      #
      # @see http://yui.github.io/yuicompressor
      # @see https://rubygems.org/gems/yui-compressor
      class YuiJavascript < Javascript
        # @since 0.1.0
        # @api private
        def initialize
          @compressor = YUI::JavaScriptCompressor.new(munge: true)
        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/yui_javascript.rb