@@ -1345,7 +1345,8 @@ return /******/ (function(modules) { // webpackBootstrap
1345
1345
if ( typeof attachEvent === 'function' ) {
1346
1346
attachEvent ( 'onunload' , unloadHandler ) ;
1347
1347
} else if ( typeof addEventListener === 'function' ) {
1348
- addEventListener ( 'beforeunload' , unloadHandler , false ) ;
1348
+ var terminationEvent = 'onpagehide' in self ? 'pagehide' : 'unload' ;
1349
+ addEventListener ( terminationEvent , unloadHandler , false ) ;
1349
1350
}
1350
1351
}
1351
1352
@@ -4039,7 +4040,7 @@ return /******/ (function(modules) { // webpackBootstrap
4039
4040
/* 25 */
4040
4041
/***/ function ( module , exports , __webpack_require__ ) {
4041
4042
4042
- 'use strict' ;
4043
+ /* WEBPACK VAR INJECTION */ ( function ( global ) { 'use strict' ;
4043
4044
4044
4045
/**
4045
4046
* Module requirements.
@@ -4073,6 +4074,13 @@ return /******/ (function(modules) { // webpackBootstrap
4073
4074
4074
4075
function empty ( ) { }
4075
4076
4077
+ /**
4078
+ * Until https://github.com/tc39/proposal-global is shipped.
4079
+ */
4080
+ function glob ( ) {
4081
+ return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : { } ;
4082
+ }
4083
+
4076
4084
/**
4077
4085
* JSONP Polling constructor.
4078
4086
*
@@ -4089,8 +4097,8 @@ return /******/ (function(modules) { // webpackBootstrap
4089
4097
// we do this here (lazily) to avoid unneeded global pollution
4090
4098
if ( ! callbacks ) {
4091
4099
// we need to consider multiple engines in the same page
4092
- if ( ! window . ___eio ) window . ___eio = [ ] ;
4093
- callbacks = window . ___eio ;
4100
+ var global = glob ( ) ;
4101
+ callbacks = global . ___eio = global . ___eio || [ ] ;
4094
4102
}
4095
4103
4096
4104
// callback identifier
@@ -4271,6 +4279,7 @@ return /******/ (function(modules) { // webpackBootstrap
4271
4279
this . iframe . onload = complete ;
4272
4280
}
4273
4281
} ;
4282
+ /* WEBPACK VAR INJECTION */ } . call ( exports , ( function ( ) { return this ; } ( ) ) ) )
4274
4283
4275
4284
/***/ } ,
4276
4285
/* 26 */
0 commit comments