Greasy Fork

The West - Color tchat

Adds new features to the chat of The West

< 脚本 The West - Color tchat 的反馈

评价:好评 - 脚本运行良好

Ehm
§
发布于:2019-02-18

Script parsing error

First of all, thanks a lot for the script : it makes the tchat much more fun. <3

I'm currently using the version 0.3.0.3 of the script "The West - Color tchat" - running all ok. I was just checking how to add some emoji and went to the script :p

But I found there a parsing error at line 808 : for (var j of em) As such, easy to fix : for (var j in em) But this raises a lot of error, caused by undefined object Game ... probably missing included module.

But that's a bit too far for me.

Tom Robert作者
§
发布于:2019-02-18

Just leave "for (var j of em)" like it is. Maybe your program doesn't know "for ... of" because this is newer than "for ... in". "Game" is defined in the game The West (window.Game to be precise).

发布留言

登录以发布留言。