File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 295295 if ( this . opts . prioritizeFirstAndLastChunk ) {
296296 each ( this . files , function ( file ) {
297297 if ( ! file . paused && file . chunks . length &&
298- file . chunks [ 0 ] . status ( ) === 'pending' &&
299- file . chunks [ 0 ] . preprocessState === 0 ) {
298+ file . chunks [ 0 ] . status ( ) === 'pending' ) {
300299 file . chunks [ 0 ] . send ( ) ;
301300 found = true ;
302301 return false ;
303302 }
304303 if ( ! file . paused && file . chunks . length > 1 &&
305- file . chunks [ file . chunks . length - 1 ] . status ( ) === 'pending' &&
306- file . chunks [ 0 ] . preprocessState === 0 ) {
304+ file . chunks [ file . chunks . length - 1 ] . status ( ) === 'pending' ) {
307305 file . chunks [ file . chunks . length - 1 ] . send ( ) ;
308306 found = true ;
309307 return false ;
318316 each ( this . files , function ( file ) {
319317 if ( ! file . paused ) {
320318 each ( file . chunks , function ( chunk ) {
321- if ( chunk . status ( ) === 'pending' && chunk . preprocessState === 0 ) {
319+ if ( chunk . status ( ) === 'pending' ) {
322320 chunk . send ( ) ;
323321 found = true ;
324322 return false ;
You can’t perform that action at this time.
0 commit comments