module Sprockets::SassFunctions
def asset_path(path)
def asset_path(path) Sass::Script::String.new(sprockets_context.asset_path(path.value), :string) end
def asset_url(path)
def asset_url(path) Sass::Script::String.new("url(" + sprockets_context.asset_path(path.value) + ")") end
def audio_path(path)
def audio_path(path) Sass::Script::String.new(sprockets_context.audio_path(path.value), :string) end
def audio_url(path)
def audio_url(path) Sass::Script::String.new("url(" + sprockets_context.audio_path(path.value) + ")") end
def font_path(path)
def font_path(path) Sass::Script::String.new(sprockets_context.font_path(path.value), :string) end
def font_url(path)
def font_url(path) Sass::Script::String.new("url(" + sprockets_context.font_path(path.value) + ")") end
def image_path(path)
def image_path(path) Sass::Script::String.new(sprockets_context.image_path(path.value), :string) end
def image_url(path)
def image_url(path) Sass::Script::String.new("url(" + sprockets_context.image_path(path.value) + ")") end
def javascript_path(path)
def javascript_path(path) Sass::Script::String.new(sprockets_context.javascript_path(path.value), :string) end
def javascript_url(path)
def javascript_url(path) Sass::Script::String.new("url(" + sprockets_context.javascript_path(path.value) + ")") end
def sprockets_context
def sprockets_context options[:sprockets][:context] end
def sprockets_environment
def sprockets_environment options[:sprockets][:environment] end
def stylesheet_path(path)
def stylesheet_path(path) Sass::Script::String.new(sprockets_context.stylesheet_path(path.value), :string) end
def stylesheet_url(path)
def stylesheet_url(path) Sass::Script::String.new("url(" + sprockets_context.stylesheet_path(path.value) + ")") end
def video_path(path)
def video_path(path) Sass::Script::String.new(sprockets_context.video_path(path.value), :string) end
def video_url(path)
def video_url(path) Sass::Script::String.new("url(" + sprockets_context.video_path(path.value) + ")") end