module Less::StyleSheet::Selectors2

Comma-separated selectors. Less breaks these into completely separate nodes. Since we don't want this duplication in the Sass, we modify the production to keep track of the original group so we can reconstruct it later on.

Public Instance Methods

build(env, method) click to toggle source
Also aliased as: build_without_sass
Alias for: build_with_sass
build_with_sass(env, method) click to toggle source
# File lib/sass/less.rb, line 73
def build_with_sass(env, method)
  arr = build_without_sass(env, method)
  return arr if method == :mixin
  rarr = arr.map {|e| e.top(env)}
  rarr.each {|e| e.group = rarr}
  arr
end
Also aliased as: build
build_without_sass(env, method) click to toggle source
Alias for: build