github-tools / github-tools/github

how to use without node for browser extension/ add Ons ?

Ouverte
#455 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
3.8k
Forks
809
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I want to use this js wrapper for a chrome extension but while using binaries or bundled version I'm getting errors getting errors.
This is an HTML file, please help me here.

```html

var GitHub = require('github-api');
var gh = new GitHub({
username: '',
password: ''
});
var me = gh.getUser();
me.listNotifications(function(err, notifications) {
console.log(notifications);
});

```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start with the HTML example in the issue and the bundled browser script loaded from unpkg. Check how the wrapper is expected to load in a Chrome extension without Node, and reproduce the reported errors. Done means the bundle loads in the extension and the shown notifications request works without require().

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript
Domaine
api, web-dev
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.