new config option to pass options along to chunky_png

This commit is contained in:
Scott Davis 2011-06-12 13:36:49 -04:00
parent 6712c65ce7
commit db74d8bdb3
2 changed files with 6 additions and 1 deletions

View File

@ -38,7 +38,8 @@ module Compass
:color_output, :color_output,
:preferred_syntax, :preferred_syntax,
:disable_warnings, :disable_warnings,
:sprite_engine :sprite_engine,
:chunky_png_options
].flatten ].flatten
# Registers a new configuration property. # Registers a new configuration property.

View File

@ -133,6 +133,10 @@ module Compass
:chunky_png :chunky_png
end end
def default_chunky_png_options
{:compression => Zlib::BEST_COMPRESSION}
end
# helper functions # helper functions
def http_join(*segments) def http_join(*segments)