From 1697da112a9b9f529fad2f54c62aecd7bbb614e6 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Fri, 3 Apr 2020 16:44:23 -0400 Subject: [WEBCARDS] Update some webcards stuff --- webcards/scripts/client/message.js | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 webcards/scripts/client/message.js (limited to 'webcards/scripts/client/message.js') diff --git a/webcards/scripts/client/message.js b/webcards/scripts/client/message.js deleted file mode 100644 index 5e821c4..0000000 --- a/webcards/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}); - } -}; -- cgit v1.2.3