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

where does the unique_id comes from #218

Open
chrisyeung1121 opened this issue Jun 10, 2015 · 1 comment
Open

where does the unique_id comes from #218

chrisyeung1121 opened this issue Jun 10, 2015 · 1 comment

Comments

@chrisyeung1121
Copy link

just wondering..

@designstuhl
Copy link

I was wondering this too. If you open up the s3_direct_uploads.js.coffee file in the gem, from what I can tell, it gets set inside of the setUploadForm function on line 41

file.unique_id = Math.random().toString(36).substr(2,16)

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

No branches or pull requests

2 participants