bugfix for issue #29

This commit is contained in:
OttoMao
2015-07-31 14:00:34 +08:00
parent 6975138c96
commit 13b0db906a
8 changed files with 16 additions and 12 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");