Sha256: 93e56eabae995014bbfe3e1be0eb14b1bdaddc9a879421753ecebd5da8bb9c11

Contents?: true

Size: 597 Bytes

Versions: 26

Compression:

Stored size: 597 Bytes

Contents

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

module Hanami
  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

26 entries across 26 versions & 1 rubygems

Version Path
hanami-assets-1.3.5 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.3.4 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.3.3 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.3.2 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.3.1 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.3.0 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.3.0.beta1 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.2.0 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.2.0.rc2 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.2.0.rc1 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.2.0.beta2 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.2.0.beta1 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.1.1 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.1.0 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.1.0.rc1 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.1.0.beta3 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.1.0.beta2 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.1.0.beta1 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.0.0 lib/hanami/assets/compressors/yui_javascript.rb
hanami-assets-1.0.0.rc1 lib/hanami/assets/compressors/yui_javascript.rb