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
Tristan Harward 6dea3d599f Fix module to correctly include compass extenstion.
Sorry about all the commits - still getting my bearings with compass.
2012-11-01 11:04:42 -04:00

10 lines
No EOL
300 B
Ruby

# This contains functions for use with a project *only* using Compass.
module Sass::Script::Functions
module ImageUrl
# 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
end