Sha256: 632ad1bfdb9b96e50896ea6e8bc0f4f5ebf0cf91a474ebe0de1e305f50a1d58f
Contents?: true
Size: 784 Bytes
Versions: 6
Compression:
Stored size: 784 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 Sprockets.register_engine '.handlebars', TiltHandlebars Sprockets.register_engine('.hamlbars', TiltHandlebars) if HandlebarsAssets::Config.haml_available? Sprockets.register_engine('.slimbars', TiltHandlebars) if HandlebarsAssets::Config.slim_available? end end
Version data entries
6 entries across 6 versions & 1 rubygems