Work on main hall
[vchess.git] / client / src / data / userCheck.js
index 65ed1db..4c714a6 100644 (file)
@@ -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