lib/sprockets/svg/png.rb in sprockets-svg-0.1.1 vs lib/sprockets/svg/png.rb in sprockets-svg-0.1.2
- old
+ new
@@ -16,12 +16,12 @@
nil
end
def png_path(svg_path)
if svg_path =~ /^(.*)\-([0-9a-f]{40})\.svg$/
- p "#{$1}.svg-#{$2}.png"
+ "#{$1}.svg-#{$2}.png"
else
- p "#{svg_path}.png"
+ "#{svg_path}.png"
end
end
# TODO: integrate svgo instead: https://github.com/svg/svgo
# See https://github.com/lautis/uglifier on how to integrate a npm package as a gem.
\ No newline at end of file