projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a few things: ready to work on basic live games
[vchess.git]
/
client
/
src
/
utils
/
ajax.js
diff --git
a/client/src/utils/ajax.js
b/client/src/utils/ajax.js
index
c0ebbff
..
01ea849
100644
(file)
--- a/
client/src/utils/ajax.js
+++ b/
client/src/utils/ajax.js
@@
-1,5
+1,8
@@
import params from "../parameters"; //for server URL
import params from "../parameters"; //for server URL
+// TODO: replace by fetch API ?
+// https://www.sitepoint.com/xmlhttprequest-vs-the-fetch-api-whats-best-for-ajax-in-2019/
+
// From JSON (encoded string values!) to "arg1=...&arg2=..."
function toQueryString(data)
{
// From JSON (encoded string values!) to "arg1=...&arg2=..."
function toQueryString(data)
{