Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo gives Uncaught TypeError: ONECOLOR is not a function #44

Closed
oshihirii opened this issue Apr 24, 2018 · 3 comments
Closed

demo gives Uncaught TypeError: ONECOLOR is not a function #44

oshihirii opened this issue Apr 24, 2018 · 3 comments

Comments

@oshihirii
Copy link

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
Copy link
Author

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.

@bebraw
Copy link
Owner

bebraw commented Apr 28, 2018

I wonder what's the right fix for this. Onecolor is a global dependency. I could maybe point to a CDN instead. Any ideas?

@bebraw
Copy link
Owner

bebraw commented Jul 3, 2018

I think this should be fixed now.

@bebraw bebraw closed this as completed Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants