Skip to content

Commit 5ad4492

Browse files
committed
Merge branch 'master' into jquery-ui
2 parents 7c31ac1 + 8605aba commit 5ad4492

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

js/jquery.fileupload.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* jQuery File Upload Plugin 5.12
2+
* jQuery File Upload Plugin 5.13
33
* https://github.com/blueimp/jQuery-File-Upload
44
*
55
* Copyright 2010, Sebastian Tschan
@@ -530,6 +530,10 @@
530530
ub + i * mcs,
531531
ub + (i + 1) * mcs
532532
);
533+
// Expose the chunk index:
534+
o.chunkIndex = i;
535+
// Expose the number of chunks:
536+
o.chunksNumber = n;
533537
// Store the current chunk size, as the blob itself
534538
// will be dereferenced after data processing:
535539
o.chunkSize = o.blob.size;

0 commit comments

Comments
 (0)