bugfix for inline-font-files helper

path variable isn't an argument to this function - deleted unnecessary  line causing error
This commit is contained in:
Max Baumann 2010-06-22 10:07:59 -07:00 committed by Chris Eppstein
parent 1f1c88382d
commit acffc9fd73

View File

@ -10,7 +10,6 @@ module Compass::SassExtensions::Functions::InlineImage
def inline_font_files(*args) def inline_font_files(*args)
raise Sass::SyntaxError, "An even number of arguments must be passed to font_files()" unless args.size % 2 == 0 raise Sass::SyntaxError, "An even number of arguments must be passed to font_files()" unless args.size % 2 == 0
path = path.value
files = [] files = []
while args.size > 0 while args.size > 0
path = args.shift.value path = args.shift.value