토론 » Greasy Fork镜像 피드백

官网是不是出错了

§
게시: 2019-08-14

官网是不是出错了

无论改不改,改什么删什么,只要一点发布版本就报错:

很抱歉,您提交的内容有点问题…

Code contains errors: Uncaught SyntaxError: Unexpected token : at undefined:3:13

woxxom관리자
§
게시: 2019-08-14
수정: 2019-08-14

@JasonBarnabe, the script in question is a JSON object which I guess is used via @resource. You may argue this is not a script nor a library so it shouldn't be allowed, but a JSON can be recognized reliably by your syntax verifier so maybe it's worth making an exception. If there's no dedicated JSON test you can probably just retry your currently used test with 'foo=' + code.

답글 게시

답글을 게시하려면 로그인하세요.

长期地址
遇到问题?请前往 GitHub 提 Issues。