Sha256: d543983887dbdc6d61e2c0a5f4ca57988ee0500133db022b5bc88cb39aafcc52
Contents?: true
Size: 714 Bytes
Versions: 3
Compression:
Stored size: 714 Bytes
Contents
# Frozen-string-literal: true # Copyright: 2012 - 2017 - MIT License # Encoding: utf-8 module Jekyll module Assets module Patches module SassFunctions def asset_path(path, options = {}) path, args = path.value.split(%r!\s+!, 2) path, = URI.split(path)[5..8] path = "#{path} #{args}" # We strip the query string, and the fragment. path = sprockets_context.asset_path(path, options) Sprockets::Autoload::Sass::Script::String.new \ path, :string end end end end end # -- module Sprockets class SassProcessor module Functions prepend Jekyll::Assets::Patches::SassFunctions end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jekyll-assets-3.0.2 | lib/jekyll/assets/patches/functions.rb |
jekyll-assets-3.0.1 | lib/jekyll/assets/patches/functions.rb |
jekyll-assets-3.0.0 | lib/jekyll/assets/patches/functions.rb |