derjoker / kindle-vocabulary-builder

Kindle Vocabulary Builder.
MIT License
0 stars 0 forks source link

Maximum call stack size exceeded [Chrome] #6

Open derjoker opened 6 years ago

derjoker commented 6 years ago

String.fromCharCode.apply(null, new Uint8Array(reader.result))

derjoker commented 6 years ago

Temporary solution.

reader.readAsBinaryString(file)
// reader.readAsArrayBuffer(file)

Note that this method was once removed from the File API specification, but re-introduced for backward compatibility. Using FileReader.readAsArrayBuffer() is recommended.