mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
replaced all tabs with 4 spaces
This commit is contained in:
parent
5d11540c55
commit
26f3d22db7
30 changed files with 1017 additions and 1011 deletions
16
app/Game/Core/Protocol/Parser.js
Normal file → Executable file
16
app/Game/Core/Protocol/Parser.js
Normal file → Executable file
|
|
@ -3,15 +3,15 @@ define([
|
|||
|
||||
function() {
|
||||
|
||||
var Parser = {};
|
||||
var Parser = {};
|
||||
|
||||
Parser.encode = function(message){
|
||||
return JSON.stringify(message);
|
||||
}
|
||||
Parser.encode = function(message){
|
||||
return JSON.stringify(message);
|
||||
}
|
||||
|
||||
Parser.decode = function(message){
|
||||
return JSON.parse(message);
|
||||
}
|
||||
Parser.decode = function(message){
|
||||
return JSON.parse(message);
|
||||
}
|
||||
|
||||
return Parser;
|
||||
return Parser;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue