compass/src/test/testData/gems/compass-0.13.alpha.2/lib/compass/sass_extensions/functions/sprites.rb
# Returns the sprite file as an inline image
#    @include "icon/*.png";
#     #{$icon-sprite-base-class} {
#       background-image: inline-sprite($icon-sprites);
#      }
Returns the sprite file as an inline image
Returns the sprite file as an inline image
def inline_sprite(map)
    verify_map(map, "sprite-url")
    map.generate
    path = map.filename
    inline_image_string(data(path), compute_mime_type(path))
  end
def inline_sprite ( map ) verify_map ( map , "sprite-url" ) map . generate path = map . filename inline_image_string ( data ( path ) , compute_mime_type ( path ) ) end
Returns the sprite file as an inline image
Returns the sprite file as an inline image
map
include
"icon.png"; #{$icon-sprite-base-class} { background-image: inline-sprite($icon-sprites); }
" icon . png " ; # { $icon - sprite - base - class } { background - image : inline - sprite ( $icon - sprites ) ; }