kaitai-io / kaitai_struct_javascript_runtime

Kaitai Struct: runtime for JavaScript
Apache License 2.0
37 stars 22 forks source link

Make compatible with ES5 #24

Closed mfalkvidd closed 2 years ago

mfalkvidd commented 2 years ago

template literal syntax is only available in ES6. By changing how the error message is generated, KaitaiStream.js can run under ES5.