Skip to content

Commit 04cf82d

Browse files
committed
fix sprite importer constant
1 parent faf4893 commit 04cf82d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/lib/compass/configuration/adapters.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ def to_sass_plugin_options
3737
plugin_opts[:load_paths] += resolve_additional_import_paths
3838
# TODO: When sprites are extracted to their own plugin, this
3939
# TODO: will need to be extracted to there.
40-
if defined?(Compass::SpriteImporter.new)
41-
plugin_opts[:load_paths] << Compass::SpriteImporter.new
40+
if defined?(Compass::Sprites::Importer.new)
41+
plugin_opts[:load_paths] << Compass::Sprites::Importer.new
4242
end
4343
plugin_opts[:full_exception] = (environment == :development)
4444
plugin_opts
@@ -95,8 +95,8 @@ def sass_load_paths
9595
end
9696
# TODO: When sprites are extracted to their own plugin, this
9797
# TODO: will need to be extracted to there.
98-
if defined?(Compass::SpriteImporter.new)
99-
load_paths << Compass::SpriteImporter.new
98+
if defined?(Compass::Sprites::Importer.new)
99+
load_paths << Compass::Sprites::Importer.new
100100
end
101101
load_paths
102102
end

0 commit comments

Comments
 (0)