projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Draft moveList component
[vchess.git]
/
public
/
javascripts
/
playCompMove.js
diff --git
a/public/javascripts/playCompMove.js
b/public/javascripts/playCompMove.js
index
fc69ce2
..
8676933
100644
(file)
--- a/
public/javascripts/playCompMove.js
+++ b/
public/javascripts/playCompMove.js
@@
-13,7
+13,7
@@
onmessage = function(e)
break;
case "init":
const fen = e.data[1];
break;
case "init":
const fen = e.data[1];
- self.vr = new VariantRules(fen
, []
);
+ self.vr = new VariantRules(fen);
break;
case "newmove":
self.vr.play(e.data[1]);
break;
case "newmove":
self.vr.play(e.data[1]);