(file)
| 1094 | } |
| 1095 | |
| 1096 | function readInputImageFile(file) { |
| 1097 | const FR = new FileReader(); |
| 1098 | |
| 1099 | FR.addEventListener("load", function(evt) { |
| 1100 | const dataURL = evt.target.result; |
| 1101 | images.push(dataURL); |
| 1102 | imageFileMap.set(file.name, dataURL); |
| 1103 | }); |
| 1104 | |
| 1105 | FR.readAsDataURL(file); |
| 1106 | } |
| 1107 | |
| 1108 | function readInputAudio() { |
| 1109 | if (!this.files || !this.files.length) return; |
no test coverage detected