From 10a59f01eeb5fb1d9560365fdfd8f0cf7e79d3b7 Mon Sep 17 00:00:00 2001 From: Thibault Duplessis <t@lichess.org> Date: Wed, 20 Sep 2023 08:54:05 +0200 Subject: [PATCH] fix doc --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e179be6..bddc06d 100644 --- a/README.md +++ b/README.md @@ -67,12 +67,12 @@ const lpv = LichessPgnViewer(domElement, { pgn: 'e4 c5 Nf3 d6 e5 Nc6 exd6 Qxd6 Nc3 Nf6', }); -// lpv is an instance of Ctrl, providing some utilities such as: +// lpv is an instance of PgnViewer , providing some utilities such as: lpv.goTo('first'); lpv.goTo('next'); lpv.flip(); console.log(lpv.game); -// see more in ctrl.ts +// see more in pgnViewer.ts ``` ### Configuration