-
Notifications
You must be signed in to change notification settings - Fork 438
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
darken() => undefined is not a function #61
Comments
Guess that it is only your documentation which fails :-) |
Can you check and make sure you are using the latest version? This works for me on https://bgrins.github.io/TinyColor/ (the API changed in #57 for version 1.0. If you are using an older version, then using |
You are right @bgrins - I was using tinycolor from codepen.io - and I guess that they need to update to the latest version of your code. The current version I guess is an old version: |
@netsi1964 Ah I see, thanks for pointing that out. We need to bump the version for cdnjs to 1.0.0 as in #49 |
Filed cdnjs/cdnjs#3902 to update to 1.0.0 |
If I for instance do this:
tinycolor("#f00").darken()
I get:I have tried to iterate through tinycolor and it seems that it do have the function `darken``
The text was updated successfully, but these errors were encountered: