Sha256: 63aa6898fb6dfa5ce396fb6e85fc64a75beff3e6bec36b721910969cc6590465
Contents?: true
Size: 520 Bytes
Versions: 1
Compression:
Stored size: 520 Bytes
Contents
require 'sass' class Sass::Engine alias initialize_without_css_importer initialize def initialize(template, options={}) initialize_without_css_importer(template, options) css_importer = self.options[:load_paths].find {|lp| lp.is_a?(Sass::CssImporter::Importer) } unless css_importer css_importers = self.options[:load_paths].map do |importer| Sass::CssImporter::Importer.new(importer.root) end self.options[:load_paths].concat css_importers end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sass-css-importer-load-paths-1.0.0.beta.0 | lib/sass/css_importer/monkey_patches.rb |