Merge pull request #1022 from shinriyo/master

tab to space
This commit is contained in:
bdarnell 2014-03-25 21:56:01 -04:00
commit 7508e216d0
1 changed files with 4 additions and 4 deletions

View File

@ -51,10 +51,10 @@ var updater = {
start: function() {
var url = "ws://" + location.host + "/chatsocket";
updater.socket = new WebSocket(url);
updater.socket.onmessage = function(event) {
updater.showMessage(JSON.parse(event.data));
}
updater.socket = new WebSocket(url);
updater.socket.onmessage = function(event) {
updater.showMessage(JSON.parse(event.data));
}
},
showMessage: function(message) {