Skip to content

Commit

Permalink
Upgrade to Uppy 0.25 in the demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
janko committed Jun 22, 2018
1 parent c7d9d3b commit 1f68be4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions demo/assets/js/app.js
Expand Up @@ -41,8 +41,6 @@ function fileUpload(fileInput) {
})
}

uppy.run()

uppy.on('upload-success', function (file, data, uploadURL) {
// show image preview
imagePreview.src = URL.createObjectURL(file.data)
Expand Down
4 changes: 2 additions & 2 deletions demo/views/layout.erb
Expand Up @@ -7,10 +7,10 @@

<script src="https://unpkg.com/babel-polyfill@6.26.0/dist/polyfill.min.js"></script>
<script src="https://unpkg.com/whatwg-fetch@2.0.3/fetch.js"></script>
<script src="https://unpkg.com/uppy@0.24.4/dist/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v0.25.2/dist/uppy.min.js"></script>

<link href="https://unpkg.com/bootstrap@3.3.7/dist/css/bootstrap.min.css" media="screen" rel="stylesheet" />
<link href="https://unpkg.com/uppy@0.24.4/dist/uppy.min.css" rel="stylesheet" />
<link href="https://transloadit.edgly.net/releases/uppy/v0.25.2/dist/uppy.min.css" rel="stylesheet" />
<%= assets(:css) %>

<script type="text/template" id="template-photo">
Expand Down

0 comments on commit 1f68be4

Please sign in to comment.