Sha256: 1f38ba29ad51d674e715172afdcc54b7b9a8dd02cb77ff03922f0849610a4e73

Contents?: true

Size: 559 Bytes

Versions: 1

Compression:

Stored size: 559 Bytes

Contents

module AssetsBooster
  module Package
    class Javascript < Base
      def self.compiler
        AssetsBooster::Configuration.compiler_for_type(:javascript)
      end
      
      def self.merger
        require "assets_booster/merger/simple"
        AssetsBooster::Merger::Simple
      end
      
      def self.asset_path(name)
        path = AssetsBooster::Configuration.asset_path("javascripts")
        path = File.join(path, name+".js") if name
      end
      
      def view_helper_method
        :javascript_include_tag
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
assets_booster-0.0.1 lib/assets_booster/package/javascript.rb