Skip to content

Commit

Permalink
cleaned up examples, added short README intro.
Browse files Browse the repository at this point in the history
  • Loading branch information
jed committed Apr 18, 2010
1 parent 5402f20 commit c12a040
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
(fab) - a modular async web framework
=====================================

(fab) is a lightweight toolkit that makes it easy to build asynchronous web apps. It takes advantage of the flexibility and functional nature of javascript to create a concise "DSL", without pre-compilation or magic scope hackery.

Here's an example of a Hello World app:

fab = require( "../" );

require( "http" ).createServer( fab
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ require( "http" ).createServer( fab

( fab.nodejs )

( /^\/browserFocus/, require( "./browserFocus" ) )
( /^\/helloWorld/, require( "./helloWorld" ) )
( /^\/dateTime/, require( "./dateTime" ) )
( /^\/focus/, require( "./focus" ) )
( /^\/hello/, require( "./hello" ) )
( /^\/date/, require( "./date" ) )

( 404 )

Expand Down

0 comments on commit c12a040

Please sign in to comment.