chore(bump): updated versions #1177

Merged
SvetlanaMuravlova merged 29 commits from update-angular into development 2021-09-03 10:44:45 +00:00
Showing only changes of commit 7a2b4f3c99 - Show all commits

View File

@@ -303,8 +303,8 @@ export class FileUploader {
} }
protected _xhrTransport(item: FileItem): any { protected _xhrTransport(item: FileItem): any {
// eslint-disable-next-line @typescript-eslint/no-this-alias
// tslint:disable-next-line:no-this-assignment // tslint:disable-next-line:no-this-assignment
// eslint-disable-next-line @typescript-eslint/no-this-alias
const that = this; const that = this;
const xhr = item._xhr = new XMLHttpRequest(); const xhr = item._xhr = new XMLHttpRequest();
let sendable: any; let sendable: any;
@@ -316,8 +316,7 @@ export class FileUploader {
if (!this.options.disableMultipart) { if (!this.options.disableMultipart) {
sendable = new FormData(); sendable = new FormData();
this._onBuildItemForm(item, sendable); this._onBuildItemForm(item, sendable);
let appendFile; const appendFile = () => sendable.append(item.alias, item._file, item.file.name);
appendFile = () => sendable.append(item.alias, item._file, item.file.name);
if (!this.options.parametersBeforeFiles) { if (!this.options.parametersBeforeFiles) {
appendFile(); appendFile();
} }