projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes around game observing. TODO: abort/resign/draw + corr
[vchess.git]
/
client
/
src
/
data
/
userCheck.js
diff --git
a/client/src/data/userCheck.js
b/client/src/data/userCheck.js
index
65ed1db
..
4c714a6
100644
(file)
--- a/
client/src/data/userCheck.js
+++ b/
client/src/data/userCheck.js
@@
-1,4
+1,4
@@
-function checkNameEmail(o)
+
export
function checkNameEmail(o)
{
if (typeof o.name === "string")
{
@@
-15,5
+15,3
@@
function checkNameEmail(o)
return "Bad characters in email";
}
}
-
-try { module.exports = checkNameEmail; } catch(e) { } //for server