Vibrant-Colors / node-vibrant

🎨 Extract prominent colors from an image
MIT License
2.02k stars 108 forks source link

something might be wrong with the 3.0.0-alpha.2 compiled/minified file? #87

Closed FotisK closed 5 years ago

FotisK commented 5 years ago

I downloaded the 3.0.0-alpha.2 from the releases directory and tried calling the minified js by using <script src="./js/vibrant.min.js"></script> inside a static HTML page. and merely calling the js displays on the console the following javascript error (macOS/Safari 12):

left hand side of operator '=' must be a reference

When using the debug version & map file, the error log is empty. I'm a js newbie, so not sure what the issue might be, but I thought of reporting it!

crutchcorn commented 5 years ago

Tested, confirmed fixed in a new version (under version 3.1, no breaking changes since 3.x). Please let me know if this still isn't working for some reason. Sorry about that!