Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed Nov 2, 2015
1 parent 73a6b50 commit 2047d4a
Show file tree
Hide file tree
Showing 15 changed files with 66 additions and 21 deletions.
7 changes: 6 additions & 1 deletion dist/webuploader.custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -3638,18 +3638,23 @@
}

me.runing = true;
var files = [];

// 如果有暂停的,则续传
file || $.each( me.pool, function( _, v ) {
var file = v.file;

if ( file.getStatus() === Status.INTERRUPT ) {
me._trigged = false;
files.push(file);
v.transport && v.transport.send();
file.setStatus( Status.PROGRESS );
}
});

$.each(files, function() {
this.setStatus( Status.PROGRESS );
});

file || $.each( me.request( 'get-files',
Status.INTERRUPT ), function() {
this.setStatus( Status.PROGRESS );
Expand Down
2 changes: 1 addition & 1 deletion dist/webuploader.custom.min.js

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion dist/webuploader.fis.js
Original file line number Diff line number Diff line change
Expand Up @@ -3512,18 +3512,23 @@ module.exports = (function( root, factory ) {
}

me.runing = true;
var files = [];

// 如果有暂停的,则续传
file || $.each( me.pool, function( _, v ) {
var file = v.file;

if ( file.getStatus() === Status.INTERRUPT ) {
me._trigged = false;
files.push(file);
v.transport && v.transport.send();
file.setStatus( Status.PROGRESS );
}
});

$.each(files, function() {
this.setStatus( Status.PROGRESS );
});

file || $.each( me.request( 'get-files',
Status.INTERRUPT ), function() {
this.setStatus( Status.PROGRESS );
Expand Down
7 changes: 6 additions & 1 deletion dist/webuploader.flashonly.js
Original file line number Diff line number Diff line change
Expand Up @@ -3335,18 +3335,23 @@
}

me.runing = true;
var files = [];

// 如果有暂停的,则续传
file || $.each( me.pool, function( _, v ) {
var file = v.file;

if ( file.getStatus() === Status.INTERRUPT ) {
me._trigged = false;
files.push(file);
v.transport && v.transport.send();
file.setStatus( Status.PROGRESS );
}
});

$.each(files, function() {
this.setStatus( Status.PROGRESS );
});

file || $.each( me.request( 'get-files',
Status.INTERRUPT ), function() {
this.setStatus( Status.PROGRESS );
Expand Down
2 changes: 1 addition & 1 deletion dist/webuploader.flashonly.min.js

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion dist/webuploader.html5only.js
Original file line number Diff line number Diff line change
Expand Up @@ -3537,18 +3537,23 @@
}

me.runing = true;
var files = [];

// 如果有暂停的,则续传
file || $.each( me.pool, function( _, v ) {
var file = v.file;

if ( file.getStatus() === Status.INTERRUPT ) {
me._trigged = false;
files.push(file);
v.transport && v.transport.send();
file.setStatus( Status.PROGRESS );
}
});

$.each(files, function() {
this.setStatus( Status.PROGRESS );
});

file || $.each( me.request( 'get-files',
Status.INTERRUPT ), function() {
this.setStatus( Status.PROGRESS );
Expand Down
4 changes: 2 additions & 2 deletions dist/webuploader.html5only.min.js

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion dist/webuploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -3537,18 +3537,23 @@
}

me.runing = true;
var files = [];

// 如果有暂停的,则续传
file || $.each( me.pool, function( _, v ) {
var file = v.file;

if ( file.getStatus() === Status.INTERRUPT ) {
me._trigged = false;
files.push(file);
v.transport && v.transport.send();
file.setStatus( Status.PROGRESS );
}
});

$.each(files, function() {
this.setStatus( Status.PROGRESS );
});

file || $.each( me.request( 'get-files',
Status.INTERRUPT ), function() {
this.setStatus( Status.PROGRESS );
Expand Down
6 changes: 3 additions & 3 deletions dist/webuploader.min.js

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion dist/webuploader.noimage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3130,18 +3130,23 @@
}

me.runing = true;
var files = [];

// 如果有暂停的,则续传
file || $.each( me.pool, function( _, v ) {
var file = v.file;

if ( file.getStatus() === Status.INTERRUPT ) {
me._trigged = false;
files.push(file);
v.transport && v.transport.send();
file.setStatus( Status.PROGRESS );
}
});

$.each(files, function() {
this.setStatus( Status.PROGRESS );
});

file || $.each( me.request( 'get-files',
Status.INTERRUPT ), function() {
this.setStatus( Status.PROGRESS );
Expand Down
4 changes: 2 additions & 2 deletions dist/webuploader.noimage.min.js

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion dist/webuploader.nolog.js
Original file line number Diff line number Diff line change
Expand Up @@ -3537,18 +3537,23 @@
}

me.runing = true;
var files = [];

// 如果有暂停的,则续传
file || $.each( me.pool, function( _, v ) {
var file = v.file;

if ( file.getStatus() === Status.INTERRUPT ) {
me._trigged = false;
files.push(file);
v.transport && v.transport.send();
file.setStatus( Status.PROGRESS );
}
});

$.each(files, function() {
this.setStatus( Status.PROGRESS );
});

file || $.each( me.request( 'get-files',
Status.INTERRUPT ), function() {
this.setStatus( Status.PROGRESS );
Expand Down
6 changes: 3 additions & 3 deletions dist/webuploader.nolog.min.js

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion jekyll/js/webuploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -3537,18 +3537,23 @@
}

me.runing = true;
var files = [];

// 如果有暂停的,则续传
file || $.each( me.pool, function( _, v ) {
var file = v.file;

if ( file.getStatus() === Status.INTERRUPT ) {
me._trigged = false;
files.push(file);
v.transport && v.transport.send();
file.setStatus( Status.PROGRESS );
}
});

$.each(files, function() {
this.setStatus( Status.PROGRESS );
});

file || $.each( me.request( 'get-files',
Status.INTERRUPT ), function() {
this.setStatus( Status.PROGRESS );
Expand Down
7 changes: 6 additions & 1 deletion src/widgets/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,18 +243,23 @@ define([
}

me.runing = true;
var files = [];

// 如果有暂停的,则续传
file || $.each( me.pool, function( _, v ) {
var file = v.file;

if ( file.getStatus() === Status.INTERRUPT ) {
me._trigged = false;
files.push(file);
v.transport && v.transport.send();
file.setStatus( Status.PROGRESS );
}
});

$.each(files, function() {
this.setStatus( Status.PROGRESS );
});

file || $.each( me.request( 'get-files',
Status.INTERRUPT ), function() {
this.setStatus( Status.PROGRESS );
Expand Down

0 comments on commit 2047d4a

Please sign in to comment.