Sha256: f32244007dc38dd87536c4bde7be3761f5b52dac9524b36c5b7389313216013b

Contents?: true

Size: 822 Bytes

Versions: 10

Compression:

Stored size: 822 Bytes

Contents

require 'sprockets'
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 :Compressor, 'sprockets/sass/compressor'
    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

10 entries across 10 versions & 2 rubygems

Version Path
arcabouco-0.2.13 vendor/bundle/gems/sprockets-sass-1.3.1/lib/sprockets/sass.rb
sprockets-sass-1.3.1 lib/sprockets/sass.rb
sprockets-sass-1.3.0 lib/sprockets/sass.rb
sprockets-sass-1.2.0 lib/sprockets/sass.rb
sprockets-sass-1.1.0 lib/sprockets/sass.rb
sprockets-sass-1.0.3 lib/sprockets/sass.rb
sprockets-sass-1.0.2 lib/sprockets/sass.rb
sprockets-sass-1.0.1 lib/sprockets/sass.rb
sprockets-sass-1.0.0 lib/sprockets/sass.rb
sprockets-sass-0.9.1 lib/sprockets/sass.rb