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

Make S3Upload accessible from react component #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

henryboldi
Copy link

This makes it easier to get more infomation and run things like aborting an upload.

@@ -32,7 +32,7 @@ var ReactS3Uploader = React.createClass({
},

uploadFile: function() {
new S3Upload({
this.S3Upload = new S3Upload({
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's name this with a lowercase s, since uppercase is typically class names, and this would be an instance of a class.

this.s3Upload = ...

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.

2 participants