Skip to content

Commit

Permalink
Progress is out of 100
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbloom committed Sep 23, 2013
1 parent 7e2e840 commit f6212cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pace.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ class XHRRequestTracker
size = null
request.addEventListener 'progress', (evt) =>
if evt.lengthComputable
@progress = evt.loaded / evt.total
@progress = 100 * evt.loaded / evt.total
else
# If it's chunked encoding, we have no way of knowing the total length of the
# response, all we can do is increment the progress with backoff such that we
Expand Down
2 changes: 1 addition & 1 deletion pace.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pace.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f6212cb

Please sign in to comment.