removed stray console command for #78 updated

just had a stray trace in there that was removed and correct the issue
referene from the last update. oops.
pull/84/head
Are0h 3 years ago
parent 8734baf85e
commit 3fa3a9e0e6

@ -5466,7 +5466,6 @@ class FileManager {
], sortOrder[step].fileName, { ], sortOrder[step].fileName, {
type: blob.type type: blob.type
}); });
console.log('FRESH', fresh);
this.files.push(fresh); this.files.push(fresh);
var limit = count - 1; var limit = count - 1;
if (this.files.length <= limit) { if (this.files.length <= limit) {
@ -5476,9 +5475,7 @@ class FileManager {
}); });
} }
sortFiles(files) { sortFiles(files) {
var self = this; //this.files = []; //clear files array var self = this;
//this.imageList.innerHTML = '';
//this.fileList.innerHTML = '';
for(var i = 0, file1; file1 = files[i]; i++){ for(var i = 0, file1; file1 = files[i]; i++){
var reader = new FileReader(); // Closure to capture the file information var reader = new FileReader(); // Closure to capture the file information
reader.onload = ((theFile)=>{ reader.onload = ((theFile)=>{

@ -68,7 +68,6 @@ export default class FileManager {
var utils = new DataUtils(); var utils = new DataUtils();
utils.imgLoad(sortOrder[step].earl).then(blob => { utils.imgLoad(sortOrder[step].earl).then(blob => {
var fresh = new File([blob], sortOrder[step].fileName, { type: blob.type }); var fresh = new File([blob], sortOrder[step].fileName, { type: blob.type });
console.log('FRESH', fresh);
this.files.push(fresh); this.files.push(fresh);
var limit = count - 1; var limit = count - 1;
if (this.files.length <= limit) { if (this.files.length <= limit) {
@ -82,9 +81,6 @@ export default class FileManager {
sortFiles(files) { sortFiles(files) {
var self = this; var self = this;
//this.files = []; //clear files array
//this.imageList.innerHTML = '';
//this.fileList.innerHTML = '';
for (var i = 0, file; (file = files[i]); i++) { for (var i = 0, file; (file = files[i]); i++) {
var reader = new FileReader(); var reader = new FileReader();
// Closure to capture the file information // Closure to capture the file information

Loading…
Cancel
Save