Skip to content

Commit

Permalink
[chore] Release 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Nov 19, 2018
1 parent 66b9e4a commit 696c7e7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
17 changes: 13 additions & 4 deletions engine.io.js
Expand Up @@ -1345,7 +1345,8 @@ return /******/ (function(modules) { // webpackBootstrap
if (typeof attachEvent === 'function') {
attachEvent('onunload', unloadHandler);
} else if (typeof addEventListener === 'function') {
addEventListener('beforeunload', unloadHandler, false);
var terminationEvent = 'onpagehide' in self ? 'pagehide' : 'unload';
addEventListener(terminationEvent, unloadHandler, false);
}
}

Expand Down Expand Up @@ -4039,7 +4040,7 @@ return /******/ (function(modules) { // webpackBootstrap
/* 25 */
/***/ function(module, exports, __webpack_require__) {

'use strict';
/* WEBPACK VAR INJECTION */(function(global) {'use strict';

/**
* Module requirements.
Expand Down Expand Up @@ -4073,6 +4074,13 @@ return /******/ (function(modules) { // webpackBootstrap

function empty() {}

/**
* Until https://github.com/tc39/proposal-global is shipped.
*/
function glob() {
return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : {};
}

/**
* JSONP Polling constructor.
*
Expand All @@ -4089,8 +4097,8 @@ return /******/ (function(modules) { // webpackBootstrap
// we do this here (lazily) to avoid unneeded global pollution
if (!callbacks) {
// we need to consider multiple engines in the same page
if (!window.___eio) window.___eio = [];
callbacks = window.___eio;
var global = glob();
callbacks = global.___eio = global.___eio || [];
}

// callback identifier
Expand Down Expand Up @@ -4271,6 +4279,7 @@ return /******/ (function(modules) { // webpackBootstrap
this.iframe.onload = complete;
}
};
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))

/***/ },
/* 26 */
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -2,7 +2,7 @@
"name": "engine.io-client",
"description": "Client for the realtime Engine",
"license": "MIT",
"version": "3.3.0",
"version": "3.3.1",
"main": "lib/index.js",
"homepage": "https://github.com/socketio/engine.io-client",
"contributors": [
Expand Down Expand Up @@ -45,7 +45,7 @@
"concat-stream": "^1.6.0",
"del": "^2.2.2",
"derequire": "^2.0.6",
"engine.io": "3.3.0",
"engine.io": "3.3.1",
"eslint-config-standard": "4.4.0",
"eslint-plugin-standard": "1.3.1",
"expect.js": "^0.3.1",
Expand Down

0 comments on commit 696c7e7

Please sign in to comment.