Sha256: 3f3a75859852dcf5b92b37f6de436f765faf4236a2ac478275c98340db7176e7
Contents?: true
Size: 362 Bytes
Versions: 37
Compression:
Stored size: 362 Bytes
Contents
module Compass::SassExtensions::Functions::FontFiles def font_files(*args) raise Sass::SyntaxError, "An even number of arguments must be passed to font_files()" unless args.size % 2 == 0 files = [] while args.size > 0 files << "#{font_url(args.shift)} format('#{args.shift}')" end Sass::Script::String.new(files.join(", ")) end end
Version data entries
37 entries across 37 versions & 3 rubygems