-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created a new version to deploy locally, some comments on todos
- Loading branch information
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Here are the things that remain todo. If solved, move to the solved section. | ||
|
||
## TODO | ||
|
||
* Locales are currently not working. The error message in the browser is the following: | ||
|
||
XMLHttpRequest cannot load http://mliebelt.github.io/PgnViewerJS/dist/locales/chess-de.json. | ||
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.0.27' is therefore not allowed access. | ||
* What is the best deployment scheme? Currently I have the following options: | ||
* Use github.io for the distribution of PgnViewerJS and take the files from there. Then I have the problem from | ||
above (as I understand it). | ||
* Distribute all files together with the wordpress plugin. This is 1.5 MB (with all files), and even 0.7 MB | ||
when the Javascript file is compressed. It includes currently a copy of jQuery, which could be removed as well. | ||
But the remaining files will be significant. | ||
|
||
* The layout of the board needs too much place. I should find ways for displaying board, moves and navigation elements | ||
so that not such much place is wasted. | ||
* Find alternative ways to scale, so that depending on the wordpress theme, the layout of the board and moves may be different. | ||
|
||
## Solved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters