Problem with CDN
BlackStar1991 opened this issue · 5 comments
I tryed add element from CDN <script type="module" src="https://unpkg.com/vanilla-colorful?module"></script>
and get problem on FF browser http://prntscr.com/uma6a1 // and unfortunately, I still could not get to display the value of the current color of picker
Hi, can you please try to reproduce the issue with this example? https://jsbin.com/lejamix/edit?html,js,console,output
Also, what Firefox version do you have? I'm unable to reproduce this with Firefox 81.
If you have script type="module"
loading from CDN, then you don't need to use import 'vanilla-colorful';
in your code.
I have added a section regarding ES modules in #15 to clarify using bare module specifiers. Hope this helps a bit.
Closing as answered, feel free to comment if something in the documentation isn't clear.