1 | 'use strict';
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | void function register() {
|
7 |
|
8 |
|
9 | var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
10 |
|
11 | if (!reactHotLoader) {
|
12 | return;
|
13 | }
|
14 |
|
15 |
|
16 | var webpackExports = typeof __webpack_exports__ !== 'undefined' ? __webpack_exports__ : exports;
|
17 |
|
18 | if (!webpackExports) {
|
19 | return;
|
20 | }
|
21 |
|
22 | if (typeof webpackExports === 'function') {
|
23 | reactHotLoader.register(webpackExports, 'module.exports', __FILENAME__);
|
24 | return;
|
25 | }
|
26 |
|
27 |
|
28 | for (var key in webpackExports) {
|
29 |
|
30 | if (!Object.prototype.hasOwnProperty.call(webpackExports, key)) {
|
31 | continue;
|
32 | }
|
33 |
|
34 | var namedExport = void 0;
|
35 | try {
|
36 | namedExport = webpackExports[key];
|
37 | } catch (err) {
|
38 | continue;
|
39 | }
|
40 |
|
41 | reactHotLoader.register(namedExport, key, __FILENAME__);
|
42 | }
|
43 | }();
|