Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
renderjs
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
renderjs
Commits
16183a96
Commit
16183a96
authored
Oct 24, 2017
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Promise progress channel is not used.
parent
0c2428ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
renderjs.js
renderjs.js
+1
-6
No files found.
renderjs.js
View file @
16183a96
...
@@ -300,7 +300,6 @@
...
@@ -300,7 +300,6 @@
promise_list
=
[],
promise_list
=
[],
promise
,
promise
,
reject
,
reject
,
notify
,
resolved
;
resolved
;
if
(
!
(
this
instanceof
Monitor
))
{
if
(
!
(
this
instanceof
Monitor
))
{
...
@@ -317,7 +316,7 @@
...
@@ -317,7 +316,7 @@
promise_list
=
[];
promise_list
=
[];
}
}
promise
=
new
RSVP
.
Promise
(
function
promiseMonitor
(
done
,
fail
,
progress
)
{
promise
=
new
RSVP
.
Promise
(
function
promiseMonitor
(
done
,
fail
)
{
reject
=
function
rejectMonitor
(
rejectedReason
)
{
reject
=
function
rejectMonitor
(
rejectedReason
)
{
if
(
resolved
)
{
if
(
resolved
)
{
return
;
return
;
...
@@ -328,7 +327,6 @@
...
@@ -328,7 +327,6 @@
canceller
();
canceller
();
return
fail
(
rejectedReason
);
return
fail
(
rejectedReason
);
};
};
notify
=
progress
;
},
canceller
);
},
canceller
);
monitor
.
cancel
=
function
cancelMonitor
()
{
monitor
.
cancel
=
function
cancelMonitor
()
{
...
@@ -377,9 +375,6 @@
...
@@ -377,9 +375,6 @@
}
}
reject
(
rejectedReason
);
reject
(
rejectedReason
);
throw
rejectedReason
;
throw
rejectedReason
;
},
function
handlePromiseToMonitorNotification
(
notificationValue
)
{
notify
(
notificationValue
);
return
notificationValue
;
});
});
promise_list
.
push
(
queue
);
promise_list
.
push
(
queue
);
...
...
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