From 7e12dc637e4be49e6b5491e5254f473c8564fcf6 Mon Sep 17 00:00:00 2001 From: John Bender Date: Fri, 17 Sep 2010 00:35:10 -0700 Subject: [PATCH] updated the readme for the examples --- Readme.md | 11 ++++++++++- examples/index.html | 8 ++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Readme.md b/Readme.md index 27ab522..91c1a5e 100644 --- a/Readme.md +++ b/Readme.md @@ -26,6 +26,15 @@ Other settings include: jQuery.flawed.config.ajax.type // 'POST', 'GET', etc jQuery.flawed.config.header // default: 'x-jquery-flawed-stack' +## Handlers + +You can see a simple Rack app with a middleware for handling the reports in the examples directory. If you want to run it issue the following (you'll need ruby and bundler): + + $ bundle install + $ ruby examples/server.rb + +You can then access the index file at localhost:4567/examples/index.html, and watch the requests at the command line. + ## Hacking $ gem install jspec @@ -34,7 +43,7 @@ Other settings include: ## TODO -1. Provide a Rack middleware for use with (Radar)[http://github.com/mitchellh/radar] +1. Provide a Rack middleware for use with [Radar](http://github.com/mitchellh/radar) 2. Example middleware ## License diff --git a/examples/index.html b/examples/index.html index 27b66ca..01c1afe 100644 --- a/examples/index.html +++ b/examples/index.html @@ -1,9 +1,9 @@ - + - - - + + +