Sha256: 2f7c769afacea1069bfbdc9f22afdac1ad7bd52b4aa9bdd5b74d3a9be919355f

Contents?: true

Size: 518 Bytes

Versions: 4

Compression:

Stored size: 518 Bytes

Contents

require "handlebars_assets/version"

module HandlebarsAssets
  PATH = File.expand_path("../../vendor/assets/javascripts", __FILE__)

  def self.path
    PATH
  end

  autoload(:Config, 'handlebars_assets/config')
  autoload(:Handlebars, 'handlebars_assets/handlebars')
  autoload(:TiltHandlebars, 'handlebars_assets/tilt_handlebars')

  if defined?(Rails) && defined?(::Rails::Engine)
    require 'handlebars_assets/engine'
  else
    require 'sprockets'
    Sprockets.register_engine '.hbs', TiltHandlebars
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
handlebars_assets-0.6.6 lib/handlebars_assets.rb
handlebars_assets-0.6.5 lib/handlebars_assets.rb
handlebars_assets-0.6.4 lib/handlebars_assets.rb
handlebars_assets-0.6.2 lib/handlebars_assets.rb