Sha256: 898d2d37a95307d078782079dd4e90013d22339db6e540a6b5241e02f7e6917d
Contents?: true
Size: 441 Bytes
Versions: 1
Compression:
Stored size: 441 Bytes
Contents
require "handlebars_assets/version" module HandlebarsAssets PATH = File.expand_path("../../vendor/assets/javascripts", __FILE__) def self.path PATH end autoload(:Handlebars, 'handlebars_assets/handlebars') autoload(:TiltHandlebars, 'handlebars_assets/tilt_handlebars') if defined?(Rails) require 'handlebars_assets/engine' else require 'sprockets' Sprockets.register_engine '.hbs', TiltHandlebars end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
handlebars_assets-0.4.1 | lib/handlebars_assets.rb |