demo gives Uncaught TypeError: ONECOLOR is not a function
oshihirii opened this issue · comments
oshihirii commented
Running index.html
from zip file downloaded from:
http://bebraw.github.io/colorjoe
gives this error in console:
Uncaught TypeError: ONECOLOR is not a function
at getColor (colorjoe.js:703)
at setup (colorjoe.js:595)
at Function.rgb (colorjoe.js:472)
at main (demo.js:19)
at demo.js:3
oshihirii commented
I used the following files from demo site:
colorjoe.js
onecolor.js
And it stopped errors I was getting when trying to use files from repo.
Juho Vepsäläinen commented
I wonder what's the right fix for this. Onecolor is a global dependency. I could maybe point to a CDN instead. Any ideas?
Juho Vepsäläinen commented
I think this should be fixed now.