typos in font_files function and include
This commit is contained in:
parent
a1c976bbcb
commit
f37a7414c5
@ -1,7 +1,7 @@
|
||||
module Compass::SassExtensions::Functions
|
||||
end
|
||||
|
||||
%w(selectors enumerate urls display inline_image color_stop).each do |func|
|
||||
%w(selectors enumerate urls display inline_image color_stop font_files).each do |func|
|
||||
require "compass/sass_extensions/functions/#{func}"
|
||||
end
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
module Compass::SassExtensions::Functions::FontFiles
|
||||
def font_files(*args)
|
||||
raise Sass::SyntaxError, "An even number of arguments must be passed to color-stop()" unless args.size % 2 == 0
|
||||
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 << "url('#{args.shift}') format('#{args.shift}')"
|
||||
|
Loading…
Reference in New Issue
Block a user