compass/src/test/testData/gems/compass-0.13.alpha.2/lib/compass/sass_extensions/functions/gradient_support.rb
# Output the original webkit gradient syntax
Output the original webkit gradient syntax
Output the original webkit gradient syntax
def to_owg(options = self.options)
      args = []
      args << grad_point(position_or_angle || Sass::Script::String.new("top"))
      args << linear_end_position(position_or_angle, color_stops)
      args << grad_color_stops(color_stops)
      args.each{|a| a.options = options}
      Sass::Script::String.new("-webkit-gradient(linear, #{args.join(', ')})")
    end
def to_owg ( options = self . options ) args = [ ] args << grad_point ( position_or_angle || Sass :: Script :: String . new ( "top" ) ) args << linear_end_position ( position_or_angle , color_stops ) args << grad_color_stops ( color_stops ) args . each { | a | a . options = options } Sass :: Script :: String . new ( "-webkit-gradient(linear, #{args.join(', ')})" ) end
Output the original webkit gradient syntax
Output the original webkit gradient syntax
options