1
0
Fork 0
mirror of https://github.com/twbs/bootstrap-sass.git synced 2022-11-09 12:27:02 -05:00
twbs--bootstrap-sass/lib/bootstrap-sass/compass_functions.rb
2012-11-01 11:06:04 -04:00

8 lines
No EOL
268 B
Ruby

# This contains functions for use with a project *only* using Compass.
module Sass::Script::Functions
# Define image_path for Compass to allow use of sprites without url() wrapper.
def image_path(asset)
image_url(asset, Sass::Script::Bool.new(true))
end
end