mirror of https://github.com/calzoneman/sync.git
Remove redundancy
This commit is contained in:
parent
e40db5f27e
commit
2b6d980aeb
|
@ -17,7 +17,6 @@ sortSources = (sources) ->
|
|||
flv = []
|
||||
nonflv = []
|
||||
sources[quality].forEach((source) ->
|
||||
source.contentType = source.contentType
|
||||
source.quality = quality
|
||||
if source.contentType == 'video/flv'
|
||||
flv.push(source)
|
||||
|
|
|
@ -465,7 +465,6 @@
|
|||
flv = [];
|
||||
nonflv = [];
|
||||
sources[quality].forEach(function(source) {
|
||||
source.contentType = source.contentType;
|
||||
source.quality = quality;
|
||||
if (source.contentType === 'video/flv') {
|
||||
return flv.push(source);
|
||||
|
|
Loading…
Reference in New Issue