fix error message
This commit is contained in:
parent
210a1d4771
commit
7d743941d1
@ -0,0 +1,5 @@
|
|||||||
|
module Sass::Script::Functions
|
||||||
|
def generated_image_url(path)
|
||||||
|
asset_url(path, "image")
|
||||||
|
end
|
||||||
|
end
|
@ -145,7 +145,7 @@ module Compass::SassExtensions::Functions::Sprites
|
|||||||
Sass::Script::Functions.declare :sprite_position, [:map, :sprite, :offset_x, :offset_y]
|
Sass::Script::Functions.declare :sprite_position, [:map, :sprite, :offset_x, :offset_y]
|
||||||
|
|
||||||
def sprite_image(*args)
|
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
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
Loading…
Reference in New Issue
Block a user