Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rsvp.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
rsvp.js
Commits
cb563805
Commit
cb563805
authored
Feb 09, 2013
by
Domenic Denicola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reference Promises/A+ instead of Promises/A.
parent
71273e2c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
README.md
README.md
+4
-9
No files found.
README.md
View file @
cb563805
...
...
@@ -2,7 +2,7 @@
RSVP.js provides simple tools for organizing asynchronous code.
Specifically, it is a tiny implementation of Promises/A and a
Specifically, it is a tiny implementation of Promises/A
+
and a
mixin for turning objects into event targets.
It works in node and the browser. You can get the browser build in
...
...
@@ -11,13 +11,8 @@ It works in node and the browser. You can get the browser build in
## Promises
`RSVP.Promise`
is an implementation of
[
Promises/A
](
http://wiki.commonjs.org/wiki/Promises/A
)
that passes the
[
promises test suite
](
https://github.com/domenic/promise-tests
)
written
by Domenic Denicola.
It passes both the primary suite, which tests explicit compliance with
the Promises/A spec, and the extension tests, which test compliance with
commonly accepted practices around promises in JavaScript.
[
Promises/A+
](
http://promises-aplus.github.com/promises-spec/
)
that passes the
[
test suite
](
https://github.com/promises-aplus/promises-tests
)
.
It delivers all promises asynchronously, even if the value is already
available, to help you write consistent code that doesn't change if the
...
...
@@ -81,7 +76,7 @@ getJSON("/posts.json").then(function(json) {
### Chaining
One of the really awesome features of Promises/A promises are that they
One of the really awesome features of Promises/A
+
promises are that they
can be chained together. In other words, the return value of the first
resolve handler will be passed to the second resolve handler.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment