Skip to content

Commit

Permalink
fix info table clear
Browse files Browse the repository at this point in the history
  • Loading branch information
fohristiwhirl committed Jun 9, 2019
1 parent 15ad2f6 commit f66ae09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions 7_infotable.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function NewInfoTable() { // There's only ever going to be one of these made I
table: Object.create(null),

clear: function() {
this.drawn = false;
this.table = Object.create(null);
},

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Nibbler",
"version": "0.4.1",
"version": "0.4.2",
"author": "Fohristiwhirl",
"description": "Leela Chess Zero (Lc0) interface",
"main": "main.js",
Expand Down

0 comments on commit f66ae09

Please sign in to comment.