fixed relative path call
This commit is contained in:
parent
994cf534af
commit
995a20cd36
@ -1,7 +1,7 @@
|
||||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
compass (0.11.beta.2.fb61e54)
|
||||
compass (0.11.beta.2.994cf53)
|
||||
chunky_png (~> 0.12.0)
|
||||
sass (>= 3.1.0.alpha.218)
|
||||
|
||||
|
@ -133,7 +133,7 @@ module Compass::SassExtensions::Functions::Sprites
|
||||
missing_sprite!("sprite-file")
|
||||
end
|
||||
if image = map.image_for(sprite.value)
|
||||
Sass::Script::String.new(image[:relative_file])
|
||||
Sass::Script::String.new(image.relative_file)
|
||||
else
|
||||
missing_image!(map, sprite)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user