(resumableObj, file)
| 682 | window.ResumableFile = ResumableFile = (function() { |
| 683 | |
| 684 | function ResumableFile(resumableObj, file) { |
| 685 | this.resumableObj = resumableObj; |
| 686 | this.file = file; |
| 687 | this.opt = {}; |
| 688 | this._prevProgress = 0; |
| 689 | this.fileName = this.file.fileName || this.file.name; |
| 690 | this.size = this.file.size; |
| 691 | this.relativePath = this.file.webkitRelativePath || this.fileName; |
| 692 | this.uniqueIdentifier = this.resumableObj.generateUniqueIdentifier(this.file); |
| 693 | this._error = false; |
| 694 | this.chunks = []; |
| 695 | this.bootstrap(); |
| 696 | } |
| 697 | |
| 698 | ResumableFile.prototype.getOpt = function(o) { |
| 699 | return this.resumableObj.getOpt(o); |
nothing calls this directly
no outgoing calls
no test coverage detected