public
Description: DRY stylesheets with nested selectors and variables. No new syntax to learn :-)
Homepage: http://blog.airbladesoftware.com/2006/12/11/cssdryer-dry-up-your-css
Clone URL: git://github.com/airblade/css_dryer.git
airblade (author)
Thu Apr 23 09:48:35 -0700 2009
commit  2e7f75cb6d5284bbedd52ff77092dabc630f2726
tree    e20e15b19caebac6827fb6712f0a7c1367fb1b01
parent  a2edf0fd104a332f280cf38caec4ff5b21feabb3
css_dryer / config.ru
100644 15 lines (10 sloc) 0.269 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# An example Rackup file.
 
require 'rubygems'
require 'rack'
require 'lib/rack/css_dryer'
 
use Rack::CssDryer
 
theapp = Proc.new { |env|
  content = '<h1>Hi!</h1>'
  [200, {'Content-Type' => 'text/html', 'Content-Length' => content.length.to_s}, content]
}
 
run theapp