Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d7cd492a
authored
2016-02-02 17:29:37 -0500
by
brandonocasey
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixing more line breaks on parens
1 parent
22b23e8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
src/decrypter.js
src/decrypter.js
View file @
d7cd492
...
...
@@ -353,10 +353,8 @@ export class AsyncStream extends Stream {
processJob_
()
{
this
.
jobs
.
shift
()();
if
(
this
.
jobs
.
length
)
{
this
.
timeout_
=
setTimeout
(
this
.
processJob_
.
bind
(
this
),
this
.
delay
);
this
.
timeout_
=
setTimeout
(
this
.
processJob_
.
bind
(
this
),
this
.
delay
);
}
else
{
this
.
timeout_
=
null
;
}
...
...
@@ -364,10 +362,8 @@ export class AsyncStream extends Stream {
push
(
job
)
{
this
.
jobs
.
push
(
job
);
if
(
!
this
.
timeout_
)
{
this
.
timeout_
=
setTimeout
(
this
.
processJob_
.
bind
(
this
),
this
.
delay
);
this
.
timeout_
=
setTimeout
(
this
.
processJob_
.
bind
(
this
),
this
.
delay
);
}
}
}
...
...
Please
register
or
sign in
to post a comment