Fix some typos and forgotten things
[vchess.git] / public / javascripts / variants / Zen.js
index da4dd7a..66cd61f 100644 (file)
@@ -1,7 +1,7 @@
 class ZenRules extends ChessRules
 {
        // NOTE: enPassant, if enabled, would need to redefine carefully getEpSquare
-       static get HasEnpassant { return false; }
+       static get HasEnpassant() { return false; }
 
        // TODO(?): some duplicated code in 2 next functions
        getSlideNJumpMoves([x,y], steps, oneStep)
@@ -226,3 +226,5 @@ class ZenRules extends ChessRules
                }
        }
 }
+
+const VariantRules = ZenRules;