utils/compass-patch/sprites.bak.rb
# Returns the path to the original image file for the sprite with the given name
Returns the path to the original image file for the sprite with the given name
Returns the path to the original image file for the sprite with the given name
def sprite_file(map, sprite)
    sprite = convert_sprite_name(sprite)
    verify_map(map, "sprite")
    verify_sprite(sprite)
    if image = map.image_for(sprite.value)
      Sass::Script::String.new(image.file)
    else
      missing_image!(map, sprite)
    end
  end
def sprite_file ( map , sprite ) sprite = convert_sprite_name ( sprite ) verify_map ( map , "sprite" ) verify_sprite ( sprite ) if image = map . image_for ( sprite . value ) Sass :: Script :: String . new ( image . file ) else missing_image! ( map , sprite ) end end
Returns the path to the original image file for the sprite with the given name
Returns the path to the original image file for the sprite with the given name
map
sprite