1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Fixed RuleNode initializer bug in css2sass.

This commit is contained in:
Chris Eppstein 2008-11-22 09:30:19 -08:00 committed by Nathan Weizenbaum
parent 8f85cfdf99
commit 2a436fbf92

View file

@ -237,7 +237,7 @@ module Sass
root.children.map! do |child|
next child unless Tree::RuleNode === child && child.rule.include?(',')
child.rule.split(',').map do |rule|
node = Tree::RuleNode.new(rule.strip, nil)
node = Tree::RuleNode.new(rule.strip, {})
node.children = child.children
node
end