mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-25 19:23:55 +00:00
Make the build pass again by trimming line length
This commit is contained in:
parent
c44f3f7aea
commit
cdb4e6ad6f
3 changed files with 7 additions and 4 deletions
|
|
@ -53,14 +53,17 @@ export default class Dropbox extends Plugin {
|
|||
}
|
||||
|
||||
run(results) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
render(files) {
|
||||
// for each file in the directory, create a list item element
|
||||
const elems = files.map((file, i) => {
|
||||
const icon = (file.isFolder) ? 'folder' : 'file'
|
||||
return `<li data-type="${icon}" data-name="${file.name}"><span>${icon} : </span><span> ${file.name}</span></li>`
|
||||
return `<li data-type="${icon}" data-name="${file.name}">
|
||||
<span>${icon} : </span>
|
||||
<span> ${file.name}</span>
|
||||
</li>`
|
||||
})
|
||||
|
||||
// appends the list items to the target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue