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
db474da1
Commit
db474da1
authored
Jun 29, 2013
by
Stefan Penner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't short circuit, as we want a new promise.
parent
47b35e23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
test/tests/extension_test.js
test/tests/extension_test.js
+0
-6
No files found.
test/tests/extension_test.js
View file @
db474da1
...
@@ -665,12 +665,6 @@ describe("RSVP extensions", function() {
...
@@ -665,12 +665,6 @@ describe("RSVP extensions", function() {
assert
(
RSVP
.
resolve
);
assert
(
RSVP
.
resolve
);
});
});
specify
(
"
it short circuits if RSVP.promise
"
,
function
(){
var
deferred
=
new
RSVP
.
defer
();
assert
.
equal
(
RSVP
.
resolve
(
deferred
.
promise
),
deferred
.
promise
);
});
describe
(
"
1. If x is a promise, adopt its state
"
,
function
(){
describe
(
"
1. If x is a promise, adopt its state
"
,
function
(){
specify
(
"
1.1 If x is pending, promise must remain pending until x is fulfilled or rejected.
"
,
function
(
done
){
specify
(
"
1.1 If x is pending, promise must remain pending until x is fulfilled or rejected.
"
,
function
(
done
){
var
expectedValue
,
resolver
,
thenable
,
wrapped
;
var
expectedValue
,
resolver
,
thenable
,
wrapped
;
...
...
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