hashids / hashids.github.io

This is the old Hashids website. It is no longer maintained and has migrated over to Sqids.
https://sqids.org
206 stars 34 forks source link

Demo on Codepen is broken #61

Closed kohlerdominik closed 1 year ago

kohlerdominik commented 4 years ago

The check out the demo on codepen is currently broken.

ReferenceError: Hashids is not defined

I guess there should be some reference defined to the source, which is not there anymore.

BTW: The example from #39 is maybe even better than the current one?

callumgare commented 2 years ago

Looks like the codepen needs to have the hashids and jQuery libraries added to the external scripts settings of that pen. Once I added https://cdnjs.cloudflare.com/ajax/libs/hashids/2.2.10/hashids.min.js and https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js it worked for me. @niieani you look like you were modify the website, are you able to update this or ping whoever would be able to? Ta :) image

4kimov commented 1 year ago

Thanks for the heads up and sorry - that's my bad for letting it become outdated.

Closing since the project is moving. The new website has a working demo/playground @ https://sqids.org/ (scroll to the bottom)