hashids.github.io icon indicating copy to clipboard operation
hashids.github.io copied to clipboard

Demo on Codepen is broken

Open kohlerdominik opened this issue 5 years ago • 1 comments

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?

kohlerdominik avatar Jun 16 '20 07:06 kohlerdominik

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

callumgare avatar Aug 14 '22 05:08 callumgare

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)

4kimov avatar Jul 27 '23 14:07 4kimov