Skip to content

Commit

Permalink
[release] 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dolymood committed May 6, 2019
1 parent c0842d6 commit 3ba0fae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions dist/uploader.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Uploader - Uploader library implements html5 file upload and provides multiple simultaneous, stable, fault tolerant and resumable uploads
* @version v0.5.0
* @version v0.5.1
* @author dolymood <[email protected]>
* @link https://github.com/simple-uploader/Uploader
* @license MIT
Expand Down Expand Up @@ -302,7 +302,9 @@ utils.extend(Chunk.prototype, {
utils.each(query, function (v, k) {
data.append(k, v)
})
data.append(this.uploader.opts.fileParameterName, blob, this.file.name)
if (typeof blob !== 'undefined') {
data.append(this.uploader.opts.fileParameterName, blob, this.file.name)
}
}

this.xhr.open(method, target, true)
Expand Down Expand Up @@ -377,7 +379,7 @@ var event = _dereq_('./event')
var File = _dereq_('./file')
var Chunk = _dereq_('./chunk')

var version = '0.5.0'
var version = '0.5.1'

var isServer = typeof window === 'undefined'

Expand Down
Loading

0 comments on commit 3ba0fae

Please sign in to comment.