|
3 | 3 | exports[`when applied with all options matches snapshot: errors 1`] = `Array []`; |
4 | 4 |
|
5 | 5 | exports[`when applied with all options matches snapshot: main.0c220ec66316af2c1b24.js 1`] = ` |
6 | | -"webpackJsonp([ 0 ], [ function(module, exports) { |
7 | | - module.exports = function() { |
| 6 | +"webpackJsonp([ 0 ], [ function(o, n) { |
| 7 | + o.exports = function() { |
8 | 8 | console.log(7); |
9 | 9 | }; |
10 | 10 | } ], [ 0 ]);" |
11 | 11 | `; |
12 | 12 |
|
13 | 13 | exports[`when applied with all options matches snapshot: manifest.d6857f782c13a99b5917.js 1`] = ` |
14 | | -"!function(modules) { |
15 | | - var parentJsonpFunction = window.webpackJsonp; |
16 | | - window.webpackJsonp = function(chunkIds, moreModules, executeModules) { |
17 | | - for (var moduleId, chunkId, result, i = 0, resolves = []; i < chunkIds.length; i++) chunkId = chunkIds[i], |
18 | | - installedChunks[chunkId] && resolves.push(installedChunks[chunkId][0]), installedChunks[chunkId] = 0; |
19 | | - for (moduleId in moreModules) Object.prototype.hasOwnProperty.call(moreModules, moduleId) && (modules[moduleId] = moreModules[moduleId]); |
20 | | - for (parentJsonpFunction && parentJsonpFunction(chunkIds, moreModules, executeModules); resolves.length; ) resolves.shift()(); |
21 | | - if (executeModules) for (i = 0; i < executeModules.length; i++) result = __webpack_require__(__webpack_require__.s = executeModules[i]); |
22 | | - return result; |
| 14 | +"!function(r) { |
| 15 | + var n = window.webpackJsonp; |
| 16 | + window.webpackJsonp = function(e, u, c) { |
| 17 | + for (var f, i, p, a = 0, l = []; a < e.length; a++) i = e[a], o[i] && l.push(o[i][0]), |
| 18 | + o[i] = 0; |
| 19 | + for (f in u) Object.prototype.hasOwnProperty.call(u, f) && (r[f] = u[f]); |
| 20 | + for (n && n(e, u, c); l.length; ) l.shift()(); |
| 21 | + if (c) for (a = 0; a < c.length; a++) p = t(t.s = c[a]); |
| 22 | + return p; |
23 | 23 | }; |
24 | | - var installedModules = {}, installedChunks = { |
| 24 | + var e = {}, o = { |
25 | 25 | 1: 0 |
26 | 26 | }; |
27 | | - function __webpack_require__(moduleId) { |
28 | | - if (installedModules[moduleId]) return installedModules[moduleId].exports; |
29 | | - var module = installedModules[moduleId] = { |
30 | | - i: moduleId, |
| 27 | + function t(n) { |
| 28 | + if (e[n]) return e[n].exports; |
| 29 | + var o = e[n] = { |
| 30 | + i: n, |
31 | 31 | l: !1, |
32 | 32 | exports: {} |
33 | 33 | }; |
34 | | - return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__), |
35 | | - module.l = !0, module.exports; |
| 34 | + return r[n].call(o.exports, o, o.exports, t), o.l = !0, o.exports; |
36 | 35 | } |
37 | | - __webpack_require__.m = modules, __webpack_require__.c = installedModules, __webpack_require__.d = function(exports, name, getter) { |
38 | | - __webpack_require__.o(exports, name) || Object.defineProperty(exports, name, { |
| 36 | + t.m = r, t.c = e, t.d = function(r, n, e) { |
| 37 | + t.o(r, n) || Object.defineProperty(r, n, { |
39 | 38 | configurable: !1, |
40 | 39 | enumerable: !0, |
41 | | - get: getter |
| 40 | + get: e |
42 | 41 | }); |
43 | | - }, __webpack_require__.n = function(module) { |
44 | | - var getter = module && module.__esModule ? function() { |
45 | | - return module.default; |
| 42 | + }, t.n = function(r) { |
| 43 | + var n = r && r.__esModule ? function() { |
| 44 | + return r.default; |
46 | 45 | } : function() { |
47 | | - return module; |
| 46 | + return r; |
48 | 47 | }; |
49 | | - return __webpack_require__.d(getter, \\"a\\", getter), getter; |
50 | | - }, __webpack_require__.o = function(object, property) { |
51 | | - return Object.prototype.hasOwnProperty.call(object, property); |
52 | | - }, __webpack_require__.p = \\"\\", __webpack_require__.oe = function(err) { |
53 | | - throw console.error(err), err; |
| 48 | + return t.d(n, \\"a\\", n), n; |
| 49 | + }, t.o = function(r, n) { |
| 50 | + return Object.prototype.hasOwnProperty.call(r, n); |
| 51 | + }, t.p = \\"\\", t.oe = function(r) { |
| 52 | + throw console.error(r), r; |
54 | 53 | }; |
55 | 54 | }([]);" |
56 | 55 | `; |
|
0 commit comments