You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@bgrins The script tag I'm using is <script src="https://cdnjs.cloudflare.com/ajax/libs/tinycolor/1.4.2/tinycolor.min.js" integrity="sha512-+aXA9mgbUvFe0ToTlbt8/3vT7+nOgUmFw29wfFCsGoh8AZMRSU0p4WtOvC1vkF2JBrndPN2TuNZsHPAKPPxe8Q==" crossorigin="anonymous"></script> but I have also downloaded the dist js file, and neither work. I have other libraries that load in fine, but TinyColor is the only one that has not.
So im trying to load tinycolor in a electron app. I add the cdn link to my
index.html
, but when i go in the developer console, I get this error.I also try accessing it from
window.tinycolor
, but that also isnt working.Downloading tinycolor locally also does not work.
Why is this happening? Is there another way to load it?
It's working fine if I open in live server for example.
Im not using the node module, im just throwing the cdn in my html file.
The text was updated successfully, but these errors were encountered: