mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-16 13:20:01 +01:00
basic functionality with drag and drop
This commit is contained in:
@@ -32,7 +32,7 @@ module.exports = function ImageSelect(options) {
|
||||
for (var i = 0, f; f = files[i]; i++) {
|
||||
// Read the File objects in this FileList.
|
||||
|
||||
reader = new FileReader()
|
||||
reader = new FileReader();
|
||||
reader.onload = function(e) {
|
||||
// we should trigger "load" event here
|
||||
|
||||
@@ -45,7 +45,7 @@ module.exports = function ImageSelect(options) {
|
||||
options.output(image);
|
||||
}
|
||||
reader.readAsDataURL(f);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user