new config option to pass options along to chunky_png
This commit is contained in:
parent
6712c65ce7
commit
db74d8bdb3
@ -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.
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user