Dyskusje » Greasy Fork Feedback

官网是不是出错了

§
Napisano: 14-08-2019

官网是不是出错了

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

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

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

woxxomMod
§
Napisano: 14-08-2019
Edytowano: 14-08-2019

@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.

Odpowiedz

Zaloguj się, by odpowiedzieć.