pglejzer / timepicker-ui

timepicker-ui is an easy library with timepicker. Fully wrote with TypeScript. This library is based on Material Design from Google.
MIT License
62 stars 18 forks source link

CDNJS not working. #50

Closed 8WiaM8 closed 1 year ago

8WiaM8 commented 1 year ago
    I have this problem now :/

timeline:155 Uncaught ReferenceError: TimepickerUI is not defined at HTMLDocument.

I added this in head, also tried to add it to the html file and yet didn't work:

<script src="https://cdnjs.cloudflare.com/ajax/libs/timepicker-ui/2.3.0/timepicker-ui.umd.js" integrity="sha512-a3QUlKZYbhDBhA0b++tX+QjrbEwk1DNTyCR7rzwM34AUx16sNOLDzh4JQhqV5xYLs010+xsnFjrDjz2jx2+qLw==" crossorigin="anonymous" referrerpolicy="no-referrer"

Originally posted by @8WiaM8 in https://github.com/pglejzer/timepicker-ui/issues/43#issuecomment-1363418151

pglejzer commented 1 year ago

hi, did you fix it? this example is working https://codesandbox.io/s/optimistic-feynman-szkcgb?file=/index.html