You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code example shown in the README is different to the one shown in the example.
Which one is correct to use?
I tried to use the one in the example, and the example itself worked, but when I attempted to use drosophominin (me) instead of your-username, it fails to work.
I am trying the following:
<!-- Include the library. -->
<script
src="https://unpkg.com/github-calendar@latest/dist/github-calendar.min.js"
></script>
<!-- Optionally, include the theme (if you don't want to struggle to write the CSS) -->
<link
rel="stylesheet"
href="https://unpkg.com/github-calendar@latest/dist/github-calendar-responsive.css"
/>
<!-- Prepare a container for your calendar. -->
<div class="calendar">
<!-- Loading stuff -->
Loading the data just for you.
</div>
<script>
GitHubCalendar(".calendar", "drosophominin);
// or enable responsive functionality
GitHubCalendar(".calendar", "drosophominin", { responsive: true });
</script>
The text was updated successfully, but these errors were encountered:
The code example shown in the README is different to the one shown in the example.
Which one is correct to use?
I tried to use the one in the example, and the example itself worked, but when I attempted to use
drosophominin
(me) instead ofyour-username
, it fails to work.I am trying the following:
The text was updated successfully, but these errors were encountered: