github-tools / github-tools/github

Uncaught ReferenceError: GitHub is not defined

Abierto
#427 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

Source code - "test.html":

```



var gh = new GitHub();

```

Chrome console output:

```
base64.js:89Uncaught SyntaxError: Invalid regular expression: /[À-ß][€-¿]|[à-ï][€-¿]{2}|[ð-÷][€-¿]{3}/: Range out of order in character class
at new RegExp ()
at base64.js:89
at Object.n.44.buffer (base64.js:194)
at o (_prelude.js:1)
at _prelude.js:1
at Object.n.9.axios (Requestable.js:10)
at o (_prelude.js:1)
at _prelude.js:1
at Object.n.1../Requestable (Gist.js:8)
at o (_prelude.js:1)
(anonymous) @ base64.js:89
n.44.buffer @ base64.js:194
o @ _prelude.js:1
(anonymous) @ _prelude.js:1
n.9.axios @ Requestable.js:10
o @ _prelude.js:1
(anonymous) @ _prelude.js:1
n.1../Requestable @ Gist.js:8
o @ _prelude.js:1
(anonymous) @ _prelude.js:1
n.2../Gist @ GitHub.js:9
o @ _prelude.js:1
e @ _prelude.js:1
(anonymous) @ _prelude.js:1
(anonymous) @ _prelude.js:1
(anonymous) @ _prelude.js:1
test.html:6 Uncaught ReferenceError: GitHub is not defined
at test.html:6
(anonymous) @ test.html:6
```

EDITED TO ADD: Chrome Version 56.0.2924.87 (64-bit), OSX El Capitan 10.11.6

Guía de contribución

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

Línea de trabajo

Start by loading test.html with the referenced GitHub.bundle.min.js in Chrome and trace the failure from base64.js:89 through Requestable.js, Gist.js, and GitHub.js. Check whether the bundle can initialize without the reported regular-expression error; done means GitHub is defined and the console no longer shows these errors.

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

Evaluación

Stack tecnológico
javascript
Área
api, frontend
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.