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
b0c4596d
Commit
b0c4596d
authored
Dec 14, 2021
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Publish build version of rsvp.
parent
fa862176
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
dist/commonjs/rsvp/promise.js
dist/commonjs/rsvp/promise.js
+3
-3
dist/rsvp-2.0.4.amd.js
dist/rsvp-2.0.4.amd.js
+3
-3
dist/rsvp-2.0.4.js
dist/rsvp-2.0.4.js
+3
-3
dist/rsvp-2.0.4.min.js
dist/rsvp-2.0.4.min.js
+1
-1
No files found.
dist/commonjs/rsvp/promise.js
View file @
b0c4596d
...
...
@@ -123,8 +123,8 @@ Promise.prototype = {
this
.
off
(
'
error
'
,
onerror
);
var
thenPromise
=
new
this
.
constructor
(
function
()
{},
function
()
{
thenPromise
.
trigger
(
'
promise:cancelled
'
,
{});
function
(
msg
)
{
thenPromise
.
trigger
(
'
promise:cancelled
'
,
{
msg
:
msg
});
});
if
(
this
.
isFulfilled
)
{
...
...
@@ -184,7 +184,7 @@ function handleThenable(promise, value) {
if
(
isFunction
(
then
))
{
promise
.
on
(
'
promise:cancelled
'
,
function
(
event
)
{
if
(
isFunction
(
value
.
cancel
))
{
value
.
cancel
();
value
.
cancel
(
event
.
msg
);
}
});
then
.
call
(
value
,
function
(
val
)
{
...
...
dist/rsvp-2.0.4.amd.js
View file @
b0c4596d
...
...
@@ -592,8 +592,8 @@ define("rsvp/promise",
this
.
off
(
'
error
'
,
onerror
);
var
thenPromise
=
new
this
.
constructor
(
function
()
{},
function
()
{
thenPromise
.
trigger
(
'
promise:cancelled
'
,
{});
function
(
msg
)
{
thenPromise
.
trigger
(
'
promise:cancelled
'
,
{
msg
:
msg
});
});
if
(
this
.
isFulfilled
)
{
...
...
@@ -653,7 +653,7 @@ define("rsvp/promise",
if
(
isFunction
(
then
))
{
promise
.
on
(
'
promise:cancelled
'
,
function
(
event
)
{
if
(
isFunction
(
value
.
cancel
))
{
value
.
cancel
();
value
.
cancel
(
event
.
msg
);
}
});
then
.
call
(
value
,
function
(
val
)
{
...
...
dist/rsvp-2.0.4.js
View file @
b0c4596d
...
...
@@ -629,8 +629,8 @@ define("rsvp/promise",
this
.
off
(
'
error
'
,
onerror
);
var
thenPromise
=
new
this
.
constructor
(
function
()
{},
function
()
{
thenPromise
.
trigger
(
'
promise:cancelled
'
,
{});
function
(
msg
)
{
thenPromise
.
trigger
(
'
promise:cancelled
'
,
{
msg
:
msg
});
});
if
(
this
.
isFulfilled
)
{
...
...
@@ -690,7 +690,7 @@ define("rsvp/promise",
if
(
isFunction
(
then
))
{
promise
.
on
(
'
promise:cancelled
'
,
function
(
event
)
{
if
(
isFunction
(
value
.
cancel
))
{
value
.
cancel
();
value
.
cancel
(
event
.
msg
);
}
});
then
.
call
(
value
,
function
(
val
)
{
...
...
dist/rsvp-2.0.4.min.js
View file @
b0c4596d
This diff is collapsed.
Click to expand it.
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