Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ReactS3Uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ...

fileElement: findDOMNode(this),
signingUrl: this.props.signingUrl,
onProgress: this.props.onProgress,
Expand Down