Sha256: 59bfa28c2f271b2d606cfc104008ee71cacf300979dc9d17e494fc3acf345144

Contents?: true

Size: 320 Bytes

Versions: 6

Compression:

Stored size: 320 Bytes

Contents

require 'sass'

class Sass::Engine
  alias old_initialize initialize
  
  def initialize(template, options={})
    old_initialize(template, options)
    self.options[:load_paths].delete(Sass::Globbing::Importer.instance) # in case it's there
    self.options[:load_paths] << Sass::Globbing::Importer.instance
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
sass-globbing-1.1.5 lib/sass/globbing/monkey_patches.rb
sass-globbing-1.1.3 lib/sass/globbing/monkey_patches.rb
sass-globbing-pr-20-1.1.2 lib/sass/globbing/monkey_patches.rb
sass-globbing-1.1.1 lib/sass/globbing/monkey_patches.rb
sass-globbing-1.1.0 lib/sass/globbing/monkey_patches.rb
sass-globbing-1.1.0.pre.1 lib/sass/globbing/monkey_patches.rb