Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update README.md

  • Loading branch information...
commit 4eea0925eb2f4fbdc074e4ad1915304cd3770f7f 1 parent 8221b90
@dfilatov authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
View
8 README.md
@@ -253,9 +253,9 @@ Returns a promise to be fulfilled only after all items in ````promisesOrValues``
var promise1 = Vow.promise(),
promise2 = Vow.promise();
-Vow.all([promise1, promise2])
+Vow.all([promise1, promise2, 3])
.then(function(value) {
- // value is [1, 2]
+ // value is [1, 2, 3]
});
promise1.fulfill(1);
@@ -266,9 +266,9 @@ or Object:
var promise1 = Vow.promise(),
promise2 = Vow.promise();
-Vow.all({ a : promise1, b : promise2 })
+Vow.all({ a : promise1, b : promise2, c : 3 })
.then(function(value) {
- // value is { a : 1, b : 2 }
+ // value is { a : 1, b : 2, c : 3 }
});
promise1.fulfill(1);
Please sign in to comment.
Something went wrong with that request. Please try again.