Using the correct CSS compressor for the yui-compressor gem.

This commit is contained in:
Lucas Mazza
2011-05-16 15:19:44 -07:00
parent bf5e4b4c1f
commit 79249f590d

View File

@@ -99,7 +99,7 @@ module Sprockets
compressor
when :yui
require 'yui/compressor'
YUI::JavaScriptCompressor.new(:munge => true)
YUI::CssCompressor.new
else
sym
end