github-tools / github-tools/github
Uncaught ReferenceError: GitHub is not defined
- 主要语言
- JavaScript
- 星标
- 3.8k
- 派生
- 809
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
这个仓库没有索引到贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- api, frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 35/100