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