Directive nodes need to_sass too.
This commit is contained in:
parent
20e24dadf7
commit
3dfd369e88
@ -100,6 +100,11 @@ module Sass
|
||||
"!#{@name} #{"||" if @guarded}= #{expr.to_sass}"
|
||||
end
|
||||
end
|
||||
class DirectiveNode < Node
|
||||
def to_sass
|
||||
"#{self.value}\n #{children_to_sass}\n"
|
||||
end
|
||||
end
|
||||
class MixinDefNode < Node
|
||||
attr_accessor :name unless method_defined? :name
|
||||
attr_accessor :args unless method_defined? :args
|
||||
|
Loading…
Reference in New Issue
Block a user