handle some slightly older versions of sass
This commit is contained in:
parent
0ecdfc4631
commit
042972003f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user