Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload progress #35

Merged
merged 4 commits into from
Feb 27, 2016
Merged

Upload progress #35

merged 4 commits into from
Feb 27, 2016

Conversation

zenahirsch
Copy link
Member

Some minor changes based on #34:

  • Uses start variable to calculate uploadProgress
  • Formatting changes

var file = new FileStreamer(path, ticket.upload_link_secure);

if (progress_callback) {
var check_progress = setInterval(function () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have to do set interval here? My gut feels like there's a better way.

Can we just pass the progress callback into the filestreamer so we have it called exactly when it's updated, as opposed to periodically checking via the event loop?

formatting

convert tabs to spaces

back to tabs
convert tabs to spaces

convert spaces to tabs
Dashron added a commit that referenced this pull request Feb 27, 2016
@Dashron Dashron merged commit 3ba63a4 into vimeo:master Feb 27, 2016
@Dashron
Copy link
Contributor

Dashron commented Feb 27, 2016

👍 for upload fix and tabs standardization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants