 				p @about or 'Developer was too lazy to describe this widget'
 
 				h2 'Examples:'
-		
+
 				if @examples
 					ul ->
 						for example in @examples
 							li -> a href: example.href, -> example.caption
 				else
 					p 'Developer was too lazy to define any examples.'
-		
+
 				h2 'Parameters'
-		
+
 				if @params
 					table ->
 						tbody ->

config = { appName: "Timbits", engine: "coffee", port: 5678, home: process.cwd() }
server = {}

# creates, configures, and returns a standard express server instance
@serve = (options) ->
	config[key] = value for key, value of options
	@server = express.createServer()

	@log = new Log(if @server.settings.env is 'development' then Log.DEBUG else Log.INFO)
	
	# support coffekup
	@server.register '.coffee', ck
	
	# configure server (still needs some thought) 	
	@server.set 'views', "#{config.home}/views"
	@server.set 'view engine', config.engine
	@server.set 'view options', {layout: false}
		
	@server.configure =>
		@server.use connectESI.setupESI()
		@server.use express.static("#{config.home}/public")
		@server.use express.static("#{config.home}/views")		
		@server.use express.bodyParser()
		@server.use express.cookieParser()


		box-shadow: 0 0px 20px #666;
		min-height: 500px;
	}

	a {color: #4E5989; text-decoration: underline;}
	a:hover {text-decoration: none;}

	#wrapper {width: 750px; margin: 0 auto;}

	h1 {border-bottom: 1px solid #999; width: 100%; font: 30px Tahoma, Geneva, sans-serif}

	p, h3 {margin: 0 0 5px 0;}
