summaryrefslogtreecommitdiff
path: root/scripts/client/message.js
diff options
context:
space:
mode:
authorKyle Gunger <corechg@gmail.com>2020-02-28 02:21:30 -0500
committerKyle Gunger <corechg@gmail.com>2020-02-28 02:21:30 -0500
commita4d0d1190b74cd1bfb596b8a02a2deacce3ad86c (patch)
treeb46f341f3e57102ee9e20d352cfc4f0dd5b48cad /scripts/client/message.js
parent87ce9d1c162ac9606a9b4d817a5f3b486889a46f (diff)
Fix mobile + Lobby omments
Diffstat (limited to 'scripts/client/message.js')
-rw-r--r--scripts/client/message.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/client/message.js b/scripts/client/message.js
deleted file mode 100644
index 5e821c4..0000000
--- a/scripts/client/message.js
+++ /dev/null
@@ -1,14 +0,0 @@
-function Message(type, data){
- this.t = type;
- this.d = data;
-}
-
-Message.prototype = {
- stringify: function(){
- var dat = this.d
- if(typeof dat !== "string"){
- dat = JSON.stringify(dat);
- }
- return JSON.stringify({type: this.t, data: dat});
- }
-};