Browse files

Documentation errors

Just noticed I pulled in the wrong PR for the Future documentation and
there are some errors. As discussed in:
fresheneesz@28b1a4a
  • Loading branch information...
1 parent b9abc82 commit a7337bdfdc30e0993482f2b922a6e9181086d64e @laverdet committed Dec 9, 2013
Showing with 1 addition and 11 deletions.
  1. +1 −11 README.md
View
12 README.md
@@ -512,12 +512,7 @@ Future.prototype.resolver = function() { ... }
* If two arguments are passed, the first argument is a future which will be thrown to in the case
* of error, and the second is a function(val){} callback.
*/
-Future.prototype.resolver = function(/* errback or future, callback */) { ... }
-
-/**
- * Runs a callback only in the case of success.
- */
-Future.prototype.resolveSuccess = function(callback) { ... }
+Future.prototype.resolve = function(/* errback or future, callback */) { ... }
/**
* Propogate results to another future.
@@ -527,11 +522,6 @@ Future.prototype.resolveSuccess = function(callback) { ... }
Future.prototype.proxy = function(future) { ... }
/**
- * Propogate only errors to an another future or array of futures.
- */
-Future.prototype.proxyErrors = function(futures) { ... }
-
-/**
* Differs from its functional counterpart in that it actually resolves the future. Thus if the
* future threw, future.wait() will throw.
*/

0 comments on commit a7337bd

Please sign in to comment.