Skip to content

Newbie question: Github is not defined #382

@rmpestano

Description

@rmpestano

Hi,

I'm getting

Uncaught ReferenceError: Github is not defined

here is what I'm trying:

<head>
    <meta charset='utf-8'>
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <link rel="stylesheet" type="text/css" media="screen" href="/api/public/proxy?url=https%3A%2F%2Fgithub.com%2Fgithub-tools%2Fgithub%2Fissues%2Fstylesheets%2Fstylesheet.css">
    <script src="/api/public/proxy?url=https%3A%2F%2Funpkg.com%2Fgithub-api%2Fdist%2FGitHub.bundle.min.js"></script>
    <title>Database Rider</title>
</head>


<script type="text/javascript">
    var github = new Github({ //<---------- error is here
        token: 'my gh user token'
    });

</script>

What am I missing?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions