drag-drop/buffer drop "fullPath" property
azu opened this issue · 3 comments
azu commented
drag-drop
's result have file.fullPath
.
var dragDrop = require('drag-drop')
dragDrop('#dropTarget', function (files) {
files.forEach(function (file) {
console.log(file.fullPath)
})
})
But, drag-drop/buffer
's result not have fullPath
var dragDrop = require('drag-drop/buffer')
dragDrop('#dropTarget', function (files) {
files.forEach(function (file) {
console.log(file.fullPath) // undefined
})
}
Lines 13 to 16 in 250dd93
Is this expected design?
feross commented
This was an oversight. Thanks for reporting. Fixed in 2.13.2.
azu commented
Thanks!