handle some slightly older versions of sass

This commit is contained in:
Chris Eppstein 2011-01-17 06:40:10 -08:00
parent 0ecdfc4631
commit 042972003f

View File

@ -65,7 +65,13 @@ module Sass::Script
class Funcall < Node
include HasSimpleCrossBrowserFunctionSupport
if method_defined? :to_literal
alias sass_to_literal to_literal
else
def sass_to_literal
Script::String.new("#{name}(#{args.join(', ')})")
end
end
def to_literal(args)
if has_aspect?(args)