Skip to content

Commit

Permalink
Move dropzone.js to npm/webpack
Browse files Browse the repository at this point in the history
- unvendor dropzone and upgrade it from 4.2.0 to 5.7.0
- make `csrf` available on window.config
  • Loading branch information
silverwind committed Mar 7, 2020
1 parent 0c2148c commit fb3c9fb
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 2,196 deletions.
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"dependencies": {
"@primer/octicons": "9.4.0",
"clipboard": "2.0.4",
"dropzone": "5.7.0",
"fomantic-ui": "2.8.4",
"highlight.js": "9.18.1",
"jquery": "3.4.1",
Expand Down
6 changes: 3 additions & 3 deletions public/vendor/librejs.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
<td><a href="https://github.com/Ranks/emojify.js/archive/1.1.0.tar.gz">emojify-1.1.0.tar.gz</a></td>
</tr>
<tr>
<td><a href="./plugins/dropzone/dropzone.js">dropzone.js</a></td>
<td><a href="https://github.com/enyo/dropzone/blob/master/LICENSE">Expat</a></td>
<td><a href="https://github.com/enyo/dropzone/archive/v4.2.0.tar.gz">dropzone.js-4.2.0.tar.gz</a></td>
<td><a href="./js/dropzone.js">dropzone.js</a></td>
<td><a href="https://github.com/enyo/dropzone/blob/master/LICENSE">MIT</a></td>
<td><a href="https://github.com/enyo/dropzone/archive/master.tar.gz">dropzone-master.tar.gz</a></td>
</tr>
<tr>
<td><a href="./highlight.js">highlight.js</a></td>
Expand Down
20 changes: 0 additions & 20 deletions public/vendor/plugins/dropzone/LICENSE

This file was deleted.

Loading

0 comments on commit fb3c9fb

Please sign in to comment.