In Files

Methods

Class Index [+]

Quicksearch

Less::StyleSheet::Entity::Alpha1

The IE-specific `alpha(opacity=@var)`. Less manually resolves the variable here at parse-time. We want to keep the variable around, so we compile this to a function. Less doesn’t actually have an `=` operator, but that’s okay since it’s just getting compiled to Sass anyway.

Public Instance Methods

build(env) click to toggle source
     # File lib/sass/less.rb, line 127
127:       def build(env)
128:         Node::Function.new("alpha",
129:           [Node::Expression.new([
130:                 Node::Keyword.new("opacity"),
131:                 Node::Operator.new("="),
132:                 variable.build])])
133:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.