Skip to content

Commit 4b9ab54

Browse files
committed
Release v2.14.1
1 parent de28124 commit 4b9ab54

5 files changed

Lines changed: 10 additions & 9 deletions

File tree

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = function(grunt) {
4343
},
4444
coverage: {
4545
singleRun: true,
46-
browsers: ['Firefox'],
46+
browsers: ['Chrome'],
4747
reporters: ['progress', 'coverage'],
4848
preprocessors: {
4949
'src/*.js': 'coverage'

dist/flow.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@
272272
decrement();
273273
}
274274
function readError(fileError) {
275+
decrement();
275276
throw fileError;
276277
}
277278
function decrement() {
@@ -750,7 +751,7 @@
750751
* @type {string}
751752
*/
752753
this.uniqueIdentifier = (uniqueIdentifier === undefined ? flowObj.generateUniqueIdentifier(file) : uniqueIdentifier);
753-
754+
754755
/**
755756
* Size of Each Chunk
756757
* @type {number}
@@ -1249,7 +1250,7 @@
12491250
delete this.data;
12501251
$.event(status, $.message());
12511252
$.flowObj.uploadNextChunk();
1252-
} else {
1253+
} else if (!$.fileObj.paused) {
12531254
$.event('retry', $.message());
12541255
$.pendingRetry = true;
12551256
$.abort();
@@ -1629,7 +1630,7 @@
16291630
* Library version
16301631
* @type {string}
16311632
*/
1632-
Flow.version = '2.14.0';
1633+
Flow.version = '2.14.1';
16331634

16341635
if ( typeof module === "object" && module && typeof module.exports === "object" ) {
16351636
// Expose Flow as module.exports in loaders that implement the Node

dist/flow.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flowjs/flow.js",
3-
"version": "2.14.0",
3+
"version": "2.14.1",
44
"description": "Flow.js library implements html5 file upload and provides multiple simultaneous, stable, fault tolerant and resumable uploads.",
55
"main": "src/flow.js",
66
"scripts": {

src/flow.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@
751751
* @type {string}
752752
*/
753753
this.uniqueIdentifier = (uniqueIdentifier === undefined ? flowObj.generateUniqueIdentifier(file) : uniqueIdentifier);
754-
754+
755755
/**
756756
* Size of Each Chunk
757757
* @type {number}
@@ -1250,7 +1250,7 @@
12501250
delete this.data;
12511251
$.event(status, $.message());
12521252
$.flowObj.uploadNextChunk();
1253-
} else {
1253+
} else if (!$.fileObj.paused) {
12541254
$.event('retry', $.message());
12551255
$.pendingRetry = true;
12561256
$.abort();

0 commit comments

Comments
 (0)