File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 656
656
data . process = function ( resolveFunc , rejectFunc ) {
657
657
if ( resolveFunc || rejectFunc ) {
658
658
data . _processQueue = this . _processQueue =
659
- ( this . _processQueue || getPromise ( [ this ] ) ) . then (
659
+ ( this . _processQueue || getPromise ( [ this ] ) ) . pipe (
660
660
function ( ) {
661
661
if ( data . errorThrown ) {
662
662
return $ . Deferred ( )
663
663
. rejectWith ( that , [ data ] ) . promise ( ) ;
664
664
}
665
665
return getPromise ( arguments ) ;
666
666
}
667
- ) . then ( resolveFunc , rejectFunc ) ;
667
+ ) . pipe ( resolveFunc , rejectFunc ) ;
668
668
}
669
669
return this . _processQueue || getPromise ( [ this ] ) ;
670
670
} ;
949
949
if ( this . options . limitConcurrentUploads > 1 ) {
950
950
slot = $ . Deferred ( ) ;
951
951
this . _slots . push ( slot ) ;
952
- pipe = slot . then ( send ) ;
952
+ pipe = slot . pipe ( send ) ;
953
953
} else {
954
- this . _sequence = this . _sequence . then ( send , send ) ;
954
+ this . _sequence = this . _sequence . pipe ( send , send ) ;
955
955
pipe = this . _sequence ;
956
956
}
957
957
// Return the piped Promise object, enhanced with an abort method,
1144
1144
$ . map ( entries , function ( entry ) {
1145
1145
return that . _handleFileTreeEntry ( entry , path ) ;
1146
1146
} )
1147
- ) . then ( function ( ) {
1147
+ ) . pipe ( function ( ) {
1148
1148
return Array . prototype . concat . apply (
1149
1149
[ ] ,
1150
1150
arguments
1213
1213
return $ . when . apply (
1214
1214
$ ,
1215
1215
$ . map ( fileInput , this . _getSingleFileInputFiles )
1216
- ) . then ( function ( ) {
1216
+ ) . pipe ( function ( ) {
1217
1217
return Array . prototype . concat . apply (
1218
1218
[ ] ,
1219
1219
arguments
You can’t perform that action at this time.
0 commit comments