Skip to content

Commit

Permalink
Fork chessboard.js to fix flickering
Browse files Browse the repository at this point in the history
  • Loading branch information
raxod502 committed Mar 22, 2019
1 parent f123c37 commit 31e9a3b
Show file tree
Hide file tree
Showing 5 changed files with 1,751 additions and 1,746 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,9 @@ Or you can render another Markdown document:

Typically the server runs on `localhost:6419` if that port is
available.

### Vendored files

We vendor a forked version of `chessboard.js` from
[here](https://github.com/raxod502/chessboardjs/blob/whales/src/chessboard.js),
minified [online](https://javascript-minifier.com/).
2 changes: 1 addition & 1 deletion app/html/play.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</div>

<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="/js/vendor/chessboard-0.3.0.min.js"></script>
<script src="/js/vendor/chessboard-98b2382.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chess.js/0.10.2/chess.js"></script>

<script src="/js/util.js"></script>
Expand Down
31 changes: 0 additions & 31 deletions app/static/js/vendor/chessboard-0.3.0.min.js

This file was deleted.

Loading

0 comments on commit 31e9a3b

Please sign in to comment.