github-tools / github-tools/github

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

Abierto
#455 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
3.8k
Forks
809
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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);
});

```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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().

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
api, web-dev
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.