lib/scss_beautifier/formatters/selector.rb in scss_beautifier-0.1.11 vs lib/scss_beautifier/formatters/selector.rb in scss_beautifier-0.1.12
- old
+ new
@@ -1,5 +1,5 @@
-class SCSSBeautifier::Formatters::Selector < Sass::Tree::Visitors::Base
+class SCSSBeautifier::Formatters::Selector < SCSSBeautifier::Formatters::Base
def visit_rule(node)
node.rule = node.rule.each do |rule|
rule.gsub!(/,/, ",\n") if rule.is_a?(String)
end
node.send(:try_to_parse_non_interpolated_rules)