Permalink
Browse files

Merge pull request #2 from thos37/master

made a few readme changes
  • Loading branch information...
arunoda committed Oct 19, 2012
2 parents 294204a + 75bdaa1 commit 53f6a06529d2a668d6959013cb378595434dd054
Showing with 12 additions and 12 deletions.
  1. +12 −12 readme.md
View
@@ -4,12 +4,12 @@ QBox - Quick Flow Control library for NodeJS
Introduction
------------
-There are whole a bunch of NodeJS Flow Control libraries exists.
-In order to use most of them you need change the way how you program.
-Or learn some new syntax.
+There are a bunch of NodeJS Flow Control libraries.
+In order to use most of them you need to change how you program,
+or learn some new syntax.
-*Qbox* is meant for people who loves to code using their natural style
-but also to control the flow of the code as they wish.
+*Qbox* is meant for people who love to code using their natural style
+and also want to control the flow of their code as they wish.
Install
---------
@@ -18,11 +18,11 @@ Install
Usage
-----
-### Complete After Something happens
+### Complete After Something Happens
-I need to do some tasks after I connect've connect with the database
+I need to do some tasks after I connect with the database
- var db = qbox.create();
+ var $ = qbox.create();
mydatabase.connect(function() {
$.start();
@@ -32,19 +32,19 @@ I need to do some tasks after I connect've connect with the database
//do something
});
- //at somewhere else in your programme
+ //somewhere else in your program
$.ready(function() {
//do some other stuff
});
-### Complete After Some Few things happens
+### Complete After a Few Things Happen
-I need to do some task after I'm connected to database and registry
+I need to do some tasks after I've connected to the database and registry
var go = qbox.ready(['db', 'registry']);
mydatabase.connect(function() { go.tick('db'); });
- registry.connect(function() { go.tick('db'); });
+ registry.connect(function() { go.tick('registry'); });
go.ready(function() {
//do something

0 comments on commit 53f6a06

Please sign in to comment.