Sha256: 94701b30048394da1da0491076e749496152a8c885777ac1ce9cb84be6b32e0d

Contents?: true

Size: 324 Bytes

Versions: 10

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

require 'sprockets/sass_functions'

module Sprockets
  module SassFunctions
    def asset_data_url(path)
      ::SassC::Script::Value::String.new("url(" + sprockets_context.asset_data_uri(path.value) + ")")
    end
  end
end

::SassC::Script::Functions.send :include, Sprockets::SassFunctions

Version data entries

10 entries across 9 versions & 4 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/sassc-rails-2.1.2/lib/sassc/rails/functions.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/sassc-rails-2.1.2/lib/sassc/rails/functions.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/sassc-rails-2.1.2/lib/sassc/rails/functions.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/functions.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/functions.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/functions.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/functions.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/functions.rb
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails/functions.rb
sassc-rails-2.1.2 lib/sassc/rails/functions.rb