Sha256: 3be7affad7705d6cd37ab4cd31509e8a7c9f716bba72e5f1fe71f8d8d99e0388

Contents?: true

Size: 300 Bytes

Versions: 13

Compression:

Stored size: 300 Bytes

Contents

require 'sprockets/sass_functions'
require 'sassc'

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

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
smallvictories-0.0.19 lib/sassc/functions.rb
smallvictories-0.0.18 lib/sassc/functions.rb
smallvictories-0.0.17 lib/sassc/functions.rb
smallvictories-0.0.16 lib/sassc/functions.rb
smallvictories-0.0.15 lib/sassc/functions.rb
smallvictories-0.0.14 lib/sassc/functions.rb
smallvictories-0.0.13 lib/sassc/functions.rb
smallvictories-0.0.12 lib/sassc/functions.rb
smallvictories-0.0.11 lib/sassc/functions.rb
smallvictories-0.0.10 lib/sassc/functions.rb
smallvictories-0.0.9 lib/sassc/functions.rb
smallvictories-0.0.8 lib/sassc/functions.rb
smallvictories-0.0.7 lib/sassc/functions.rb