fixed relative path call

This commit is contained in:
Scott Davis 2011-02-22 21:32:48 -05:00
parent 994cf534af
commit 995a20cd36
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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