Sha256: 9b9ed17dbc4873ac3647cef6e106b8fb5b384e9ff9b256cefb7d6915f67c31a3
Contents?: true
Size: 734 Bytes
Versions: 2
Compression:
Stored size: 734 Bytes
Contents
require "compass" require "compass/fontcustom/version" require "compass/fontcustom/sass_extensions" require "compass/fontcustom/glyph_map" require "compass/fontcustom/font_importer" module Compass # This module registers the gem as a Compass framework source, # adds config properties to Compass and extends Sass' `load_paths`. module Fontcustom base_directory = File.expand_path('../../../', __FILE__) Compass::Frameworks.register('fontcustom', :path => base_directory) Compass::Configuration.add_configuration_property(:fontcustom_hash, "enables/disables fontcustom file name hashing") do true end Sass.load_paths << FontImporter.new end end require "compass/fontcustom/rails" if defined?(Rails)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
compass-fontcustom-1.2.0 | lib/compass/fontcustom.rb |
compass-fontcustom-1.1.0 | lib/compass/fontcustom.rb |