lib/sprockets/sass/functions.rb in sprockets-sass-1.0.0 vs lib/sprockets/sass/functions.rb in sprockets-sass-1.0.1
- old
+ new
@@ -67,11 +67,11 @@
# for the given +source+ as a Sass String. This supports keyword
# arguments that mirror the +options+.
#
# === Examples
#
- # background: asset-url("image.jpg"); // background: url("/assets/image.jpg");
- # background: asset-url("image.jpg", $digest: true); // background: url("/assets/image-27a8f1f96afd8d4c67a59eb9447f45bd.jpg");
+ # background: image-url("image.jpg"); // background: url("/assets/image.jpg");
+ # background: image-url("image.jpg", $digest: true); // background: url("/assets/image-27a8f1f96afd8d4c67a59eb9447f45bd.jpg");
#
def image_url(source, options = {}, cache_buster = nil)
# Work with the Compass #image_url API
if options.respond_to? :value
case options.value