Permalink
Browse files

Merge pull request #1 from tobert/patch-1

Spelling fixes.
  • Loading branch information...
2 parents c1adea9 + a049f01 commit 48367e8ab2347341023b092b8d0dc5ef25ed2434 @megakorre committed Dec 30, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 readme.markdown
View
@@ -1,9 +1,9 @@
# promise
-promise is a libary for doing async programing
-and it helps you to write generic algoritm's agenst async code
+promise is a libary for doing async programming
+and it helps you to write generic algorithm's against async code
and gives you a way of doing error handling with the options to fix
-the problems from abowe
+the problems from above
examples:
@@ -25,18 +25,18 @@ simple implementation of a promise to read a file
};
-a use of a generic algoritm like syncArray
+a use of a generic algorithm like syncArray
var filePaths = ......; // some array of file paths
var files = ps.syncArray(map(filePaths, readFile));
-joining together 2 promises executing in parrallel
+joining together 2 promises executing in parallel
var res = asyncThing1().joinWith(asyncThing2(), function(a1, a2) {
return a1 + a2;
});
-using the context feture to deside wheter to log some data
+using the context feture to decide wheter to log some data
var fetchUserProfile = function(userId) {
return http.get("...some url?id=" + userId)

0 comments on commit 48367e8

Please sign in to comment.