import: Allow import ?/!/white/black/win/lose/draw/resign
This commit is contained in:
parent
bec5c215d8
commit
d2be5efa17
|
@ -73,6 +73,14 @@ class GameRecorder {
|
||||||
.replaceAll('\n', ' ')
|
.replaceAll('\n', ' ')
|
||||||
.replaceAll(',', ' ')
|
.replaceAll(',', ' ')
|
||||||
.replaceAll(';', ' ')
|
.replaceAll(';', ' ')
|
||||||
|
.replaceAll('!', ' ')
|
||||||
|
.replaceAll('?', ' ')
|
||||||
|
.replaceAll('white', ' ')
|
||||||
|
.replaceAll('black', ' ')
|
||||||
|
.replaceAll('win', ' ')
|
||||||
|
.replaceAll('lose', ' ')
|
||||||
|
.replaceAll('draw', ' ')
|
||||||
|
.replaceAll('resign', ' ')
|
||||||
.split(' ');
|
.split(' ');
|
||||||
|
|
||||||
for (var i in list) {
|
for (var i in list) {
|
||||||
|
|
Loading…
Reference in New Issue