mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
some more renaming
This commit is contained in:
parent
9de3147406
commit
bd45f538c7
34 changed files with 0 additions and 0 deletions
14
app/Game/Core/Protocol/Parser.js
Normal file
14
app/Game/Core/Protocol/Parser.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
define(function() {
|
||||
|
||||
var Parser = {};
|
||||
|
||||
Parser.encode = function(message){
|
||||
return JSON.stringify(message);
|
||||
}
|
||||
|
||||
Parser.decode = function(message){
|
||||
return JSON.parse(message);
|
||||
}
|
||||
|
||||
return Parser;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue