Added braces and removed whitespaces.

This commit is contained in:
Johannes Hiemer
2016-06-06 11:44:15 +02:00
parent 4280e40848
commit de6df42e0b

View File

@@ -31,10 +31,9 @@ export class FileItem {
this.options = options;
this.file = new FileLikeObject(some);
this._file = some;
if (uploader.options && uploader.options.method)
if (uploader.options && uploader.options.method) {
this.method = uploader.options.method;
}
this.url = uploader.options.url;
}