UprootLabs / poly-flif

:camera: A poly-fill for the FLIF image format.
https://uprootlabs.github.io/poly-flif/
Other
244 stars 11 forks source link

flif.js:147 Uncaught TypeError: Cannot convert "undefined" to int #44

Closed ibrokemypie closed 6 years ago

ibrokemypie commented 6 years ago

flif.js:147 Uncaught TypeError: Cannot convert "undefined" to int at Object.toWireType (flif.js:147) at PolyFlif$startCount [as startCount] (eval at Va (flif.js:13), :11:26) at self.onmessage (flif.js:177) toWireType @ flif.js:147 PolyFlif$startCount @ VM46:11 self.onmessage @ flif.js:177 flif.js:147 Uncaught TypeError: Cannot convert "undefined" to int at Object.toWireType (flif.js:147) at PolyFlif$startCount [as startCount] (eval at Va (flif.js:13), :11:26) at self.onmessage (flif.js:177) toWireType @ flif.js:147 PolyFlif$startCount @ VM46:11 self.onmessage @ flif.js:177

ibrokemypie commented 6 years ago

This is happening on my own test site as well as https://uprootlabs.github.io/poly-flif/polyflif-sample.html Currently happening on Chrome Version 62.0.3178.0 (Official Build) dev (64-bit), Safari Version 10.1.2 (12603.3.8) and Firefox Nightly 57.0a1, all on macOS sierra

hrj commented 6 years ago

Thanks for that hint! That made me realize that it's a silly problem.

Fixed and released as part of 0.8.2: https://github.com/UprootLabs/poly-flif/releases/tag/v0.8.2