ManageIQ/manageiq-ui-classic

View on GitHub
lib/manageiq/ui/classic/js_compressor.rb

Summary

Maintainability
A
0 mins
Test Coverage
D
62%
module ManageIQ
  module UI
    module Classic
      class JsCompressor < Sprockets::UglifierCompressor
        def initialize(options = {})
          warn "\e[33m** Using #{self.class.name} with Uglifier.new(:harmony => true) from: #{__FILE__}:#{__LINE__}\e[0m"
          options[:harmony] = true
          super(options)
        end
      end
    end
  end
end