fix error message

This commit is contained in:
Chris Eppstein 2011-08-28 23:36:59 +08:00
parent 210a1d4771
commit 7d743941d1
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
module Sass::Script::Functions
def generated_image_url(path)
asset_url(path, "image")
end
end

View File

@ -145,7 +145,7 @@ module Compass::SassExtensions::Functions::Sprites
Sass::Script::Functions.declare :sprite_position, [:map, :sprite, :offset_x, :offset_y]
def sprite_image(*args)
raise Sass::SyntaxError, %Q(The sprite-image() function has been replaced by sprite(). See http://beta.compass-style.org/help/tutorials/spriting/ for more information.)
raise Sass::SyntaxError, %Q(The sprite-image() function has been replaced by sprite(). See http://compass-style.org/help/tutorials/spriting/ for more information.)
end
protected