lib/sproutcore/cssmin.rb
# Use always this functions if you want to compress your CSS-style
#
# <b>Options:</b>
#
# * <tt>:preserveComments</tt> - if set to true, comments will not be 
#   removed
# * <tt>:preserveNewline</tt> - if set to true, newlines will not be removed
# * <tt>:preserveSpaces</tt> - if set to true, spaces will not be removed
# * <tt>:preserveColors</tt> - if set to true, colors will not be modified
# * <tt>:skipMisc</tt> - if set to true, miscellaneous compression parts
#   will be skipped
Use always this functions if you want to compress your CSS-style
Options:


Use always this functions if you want to compress your CSS - style Options :
def compress(style, options = {})
      style = remove_comments(style) unless options[:preserveComments]
      style = remove_newlines(style) unless options[:preserveNewlines]
      style = remove_spaces(style) unless options[:preserveSpaces]
      style = shorten_colors(style) unless options[:preserveColors]
      style = do_misc(style) unless options[:skipMisc]
	  style
	end
def compress ( style , options = { } ) style = remove_comments ( style ) unless options [ :preserveComments ] style = remove_newlines ( style ) unless options [ :preserveNewlines ] style = remove_spaces ( style ) unless options [ :preserveSpaces ] style = shorten_colors ( style ) unless options [ :preserveColors ] style = do_misc ( style ) unless options [ :skipMisc ] style end
Use always this functions if you want to compress your CSS-style
<b>Options:</b>
Use always this functions if you want to compress your CSS - style <b > Options : < / b >
# remove comments # remove newlines # remove unneeded spaces # replace colours with shorter names # make all other things
style
<not_specific>
options
<not_specific>