Permalink
Browse files

Merge branch 'master' of git://github.com/k2informatics/bullet

  • Loading branch information...
2 parents 458884c + 7caed3b commit 6da53d366c164ad000d926b73699a3507a1c0eb3 @essen essen committed Jul 22, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 priv/bullet.js
View
@@ -48,7 +48,7 @@
}
var sendUrl = url.replace('ws:', 'http:').replace('wss:', 'https:');
-
+ var self = this;
$.ajax({
async: false,
cache: false,
@@ -60,7 +60,7 @@
headers: {'X-Socket-Transport': 'xhrPolling'},
success: function(data){
if (data.length !== 0){
- fake.onmessage({'data': data});
+ self.onmessage({'data': data});
}
}
});

0 comments on commit 6da53d3

Please sign in to comment.