github-cards icon indicating copy to clipboard operation
github-cards copied to clipboard

Can't create a repo card

Open slugovoy opened this issue 4 years ago • 1 comments

When typing username/repo getting an error _Uncaught TypeError: Cannot read property 'replace' of null. I was typing slugovoy/pasword as an example.

slugovoy avatar Nov 20 '20 16:11 slugovoy

Try generating the embed code with his website: https://lab.lepture.com/github-cards/#slugovoy/pasword|default

What I generated with slugovoy/password:

<div class="github-card" data-github="slugovoy/pasword" data-width="400" data-height="" data-theme="default">
    </div><script src="//cdn.jsdelivr.net/github-cards/latest/widget.js"></script>

lucasburlingham avatar Nov 21 '20 15:11 lucasburlingham