Skip to content

Commit

Permalink
fix: fix spelling error (bleenco#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjob authored and jkuri committed Jan 8, 2017
1 parent 9ba0ed4 commit d2f08cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/classes/uploaded-file.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class UploadedFile {
this.speedAverageHumanized = null;
}

setProgres(progress: Object): void {
setProgress(progress: Object): void {
this.progress = progress;
}

Expand Down
4 changes: 2 additions & 2 deletions src/services/ngx-uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ export class NgUploaderService {

let percent = Math.round(e.loaded / e.total * 100);
if (speed === 0) {
uploadingFile.setProgres({
uploadingFile.setProgress({
total: e.total,
loaded: e.loaded,
percent: percent
});
} else {
uploadingFile.setProgres({
uploadingFile.setProgress({
total: e.total,
loaded: e.loaded,
percent: percent,
Expand Down

0 comments on commit d2f08cf

Please sign in to comment.