(files)
| 1148 | |
| 1149 | // Loads the file, then calls finishedLoading() |
| 1150 | processFiles(files) { |
| 1151 | for (let file of files) { |
| 1152 | file.processing = true; // Backwards compatibility |
| 1153 | file.status = Dropzone.UPLOADING; |
| 1154 | |
| 1155 | this.emit("processing", file); |
| 1156 | } |
| 1157 | |
| 1158 | if (this.options.uploadMultiple) { |
| 1159 | this.emit("processingmultiple", files); |
| 1160 | } |
| 1161 | |
| 1162 | return this.uploadFiles(files); |
| 1163 | } |
| 1164 | |
| 1165 | _getFilesWithXhr(xhr) { |
| 1166 | let files; |
no test coverage detected