SassyExport 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/SassyExport.rb +3 -3
- metadata +1 -1
data/lib/SassyExport.rb
CHANGED
@@ -16,11 +16,11 @@ class Sass::Engine
|
|
16
16
|
def initialize(template, options={})
|
17
17
|
initialize_without_json_exporter(template, options)
|
18
18
|
|
19
|
-
json_exporter = self.options[:load_paths].find {|lp| lp.is_a?(Sass::
|
19
|
+
json_exporter = self.options[:load_paths].find {|lp| lp.is_a?(Sass::Importers::JsonExporter) }
|
20
20
|
|
21
21
|
unless json_exporter
|
22
22
|
root = File.dirname(options[:filename] || ".")
|
23
|
-
self.options[:load_paths] << Sass::
|
23
|
+
self.options[:load_paths] << Sass::Importers::JsonExporter.new(root)
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
@@ -28,7 +28,7 @@ end
|
|
28
28
|
# Version is a number. If a version contains alphas, it will be created as a prerelease version
|
29
29
|
# Date is in the form of YYYY-MM-DD
|
30
30
|
module SassyExport
|
31
|
-
VERSION = "1.0.
|
31
|
+
VERSION = "1.0.8"
|
32
32
|
DATE = "2014-05-31"
|
33
33
|
end
|
34
34
|
|