lokesh / color-thief

Grab the color palette from an image using just Javascript. Works in the browser and in Node.
https://lokeshdhakar.com/projects/color-thief/
MIT License
12.34k stars 1.31k forks source link

Fix code with `image` in ES6 documentation #253

Open AlexWayfer opened 5 months ago

AlexWayfer commented 5 months ago

There was only img definition, but image usage.

I found a lot of image in source code (tests).

Also there is a possible conflict between root constant and function argument.

simplePCBuilding commented 2 weeks ago

Fixed in my PR, noticed that as well when running tests