changed quotes to use syntactic sugar
This commit is contained in:
parent
fec367d60c
commit
9c8522be72
@ -7,7 +7,7 @@ GIT
|
||||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
compass (0.11.beta.7.ac623c6)
|
||||
compass (0.11.beta.7.fec367d)
|
||||
chunky_png (~> 1.1.0)
|
||||
fssm (~> 0.2)
|
||||
sass (>= 3.1.0.alpha.249)
|
||||
|
@ -444,7 +444,7 @@ module Compass::SassExtensions::Functions::GradientSupport
|
||||
def linear_svg(color_stops, x1, y1, x2, y2)
|
||||
transform = ''
|
||||
if angle?
|
||||
transform = " gradientTransform = \"rotate(#{position_or_angle.value})\""
|
||||
transform = %Q{ gradientTransform = "rotate(#{position_or_angle.value})"}
|
||||
end
|
||||
gradient = %Q{<linearGradient id="grad" gradientUnits="userSpaceOnUse" x1="#{x1}" y1="#{y1}" x2="#{x2}" y2="#{y2}"#{transform}>#{color_stops_svg(color_stops)}</linearGradient>}
|
||||
svg(gradient)
|
||||
|
Loading…
Reference in New Issue
Block a user