Sha256: 95496d609e63ba7192946081c15bccf87795f24d28fe7b31ec176a87d6403eb4

Contents?: true

Size: 748 Bytes

Versions: 1

Compression:

Stored size: 748 Bytes

Contents

require "sprockets/sass/version"
require "sprockets/sass/sass_template"
require "sprockets/sass/scss_template"
require "sprockets/engines"

module Sprockets
  module Sass
    autoload :CacheStore, "sprockets/sass/cache_store"
    autoload :Importer,   "sprockets/sass/importer"
    
    class << self
      # Global configuration for `Sass::Engine` instances.
      attr_accessor :options
      
      # When false, the asset path helpers provided by
      # sprockets-helpers will not be added as Sass functions.
      # `true` by default.
      attr_accessor :add_sass_functions
    end
    
    @options = {}
    @add_sass_functions = true
  end
  
  register_engine ".sass", Sass::SassTemplate
  register_engine ".scss", Sass::ScssTemplate
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sprockets-sass-0.7.0 lib/sprockets/sass.rb