Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration Issues #137

Open
chinmayprele opened this issue Aug 28, 2021 · 2 comments
Open

Integration Issues #137

chinmayprele opened this issue Aug 28, 2021 · 2 comments

Comments

@chinmayprele
Copy link

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>
@secondl1ght
Copy link

Can you link to the repo with your code in it? I might be able to help.

@IonicaBizau
Copy link
Member

How does it fail more exactly...? Please post the console output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants