lib/sass/script/list.rb in sass-3.2.0.alpha.101 vs lib/sass/script/list.rb in sass-3.2.0.alpha.102

- old
+ new

@@ -44,9 +44,10 @@ return value.reject {|e| e.is_a?(List) && e.value.empty?}.map {|e| e.to_s(opts)}.join(sep_str) end # @see Node#to_sass def to_sass(opts = {}) + return "()" if value.empty? precedence = Sass::Script::Parser.precedence_of(separator) value.map do |v| if v.is_a?(List) && Sass::Script::Parser.precedence_of(v.separator) <= precedence "(#{v.to_sass(opts)})" else