Sha256: 04d2f20b994d141426532bf4e9738c38901a9e8d1c9ce68e8f26103f8eb91c40
Contents?: true
Size: 312 Bytes
Versions: 2
Compression:
Stored size: 312 Bytes
Contents
# frozen_string_literal: true require 'sass' module Lipstick module SprocketsAssetDataURL def asset_data_url(path) ::Sass::Script::String.new( "url(#{sprockets_context.asset_data_uri(path.value)})" ) end end ::Sass::Script::Functions.send(:include, SprocketsAssetDataURL) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aaf-lipstick-2.1.0 | lib/lipstick/sprockets_asset_data_url_helper.rb |
aaf-lipstick-2.0.0 | lib/lipstick/sprockets_asset_data_url_helper.rb |