Sha256: b9ce5f12565d1ea74aba292d87506b8d458da6089c979211b502a04604605702

Contents?: true

Size: 691 Bytes

Versions: 4

Compression:

Stored size: 691 Bytes

Contents

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

module Sprockets
  module Sass
    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

4 entries across 4 versions & 1 rubygems

Version Path
sprockets-sass-0.6.1 lib/sprockets/sass.rb
sprockets-sass-0.6.0 lib/sprockets/sass.rb
sprockets-sass-0.5.1 lib/sprockets/sass.rb
sprockets-sass-0.5.0 lib/sprockets/sass.rb