Skip to content

Commit

Permalink
updated the readme for the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbender committed Sep 17, 2010
1 parent 3d3e27c commit 7e12dc6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
11 changes: 10 additions & 1 deletion Readme.md
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions examples/index.html
@@ -1,9 +1,9 @@
<html>
<head>
<head>
<script src="/lib/jquery.min.js"></script>
<script src="/lib/jquery.flawed.js"></script>
<script src="app.js"></script>
</head>
<body>
</body>
</head>
<body>
</body>
</html>

0 comments on commit 7e12dc6

Please sign in to comment.