8000 Fix error for join and leave messages. by bubooon · Pull Request #1 · Inpassor/centrifuge-ts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix error for join and leave messages. #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions dist/centrifuge.js
684E
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ var Centrifuge = (function (_super) {
}
_this.ping();
_this._pongTimeout = setTimeout(function () {
this._disconnect('no ping', true);
_this._disconnect('no ping', true);
}, _this._config.pongWaitTimeout);
}, this._config.pingInterval);
};
Expand Down Expand Up @@ -960,10 +960,10 @@ var Centrifuge = (function (_super) {
}
switch (message.method) {
case 'join':
this._joinResponse(message);
this._joinResponse(message.body);
break;
case 'leave':
this._leaveResponse(message);
this._leaveResponse(message.body);
break;
case 'message':
this._messageResponse(message);
Expand Down Expand Up @@ -1166,7 +1166,7 @@ var objectToQuery = function (object) {
var a = factory();
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
}
})(typeof self !== 'undefined' ? self : this, function() {
})(window, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
Expand Down Expand Up @@ -1213,6 +1213,11 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
Expand All @@ -1228,6 +1233,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 0);
/******/ })
Expand All @@ -1237,7 +1243,7 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Observable", function() { return Observable; });
var Observable = (function () {
function Observable() {
Expand Down
Loading
0