clean up some code

This commit is contained in:
OttoMao
2015-07-22 13:26:22 +08:00
parent 4c5bc97542
commit c5a1086c7c
3 changed files with 18 additions and 18 deletions

View File

@@ -40,8 +40,8 @@ function util_merge(left,right){
onOpen : function(){
eventCenter.dispatchEvent("wsOpen");
},
onGetUpdate : function(content){
eventCenter.dispatchEvent("wsGetUpdate",content);
onGetUpdate : function(record){
eventCenter.dispatchEvent("wsGetUpdate",record);
},
onError : function(e){
eventCenter.dispatchEvent("wsEnd");