Allows specifying a custom image to use by adding the attribute data-cat="yourimage.png" to the script tag. This implementation should have the same backwards compatibility as oneko.js currently does, but I tried to ensure it would safely fallback in the very niche case it breaks. If this isn't a concern, I can simplify it to two lines.
Closes #6
Allows specifying a custom image to use by adding the attribute
data-cat="yourimage.png"
to the script tag. This implementation should have the same backwards compatibility as oneko.js currently does, but I tried to ensure it would safely fallback in the very niche case it breaks. If this isn't a concern, I can simplify it to two lines.Also documents this feature in the README