MCPcopy
hub / github.com/SortableJS/Vue.Draggable / hotCreateRequire

Function hotCreateRequire

docs/app.js:76–149  ·  view source on GitHub ↗
(moduleId)

Source from the content-addressed store, hash-verified

74/******/
75/******/ // eslint-disable-next-line no-unused-vars
76/******/ function hotCreateRequire(moduleId) {
77/******/ var me = installedModules[moduleId];
78/******/ if (!me) return __webpack_require__;
79/******/ var fn = function(request) {
80/******/ if (me.hot.active) {
81/******/ if (installedModules[request]) {
82/******/ if (installedModules[request].parents.indexOf(moduleId) === -1) {
83/******/ installedModules[request].parents.push(moduleId);
84/******/ }
85/******/ } else {
86/******/ hotCurrentParents = [moduleId];
87/******/ hotCurrentChildModule = request;
88/******/ }
89/******/ if (me.children.indexOf(request) === -1) {
90/******/ me.children.push(request);
91/******/ }
92/******/ } else {
93/******/ console.warn(
94/******/ "[HMR] unexpected require(" +
95/******/ request +
96/******/ ") from disposed module " +
97/******/ moduleId
98/******/ );
99/******/ hotCurrentParents = [];
100/******/ }
101/******/ return __webpack_require__(request);
102/******/ };
103/******/ var ObjectFactory = function ObjectFactory(name) {
104/******/ return {
105/******/ configurable: true,
106/******/ enumerable: true,
107/******/ get: function() {
108/******/ return __webpack_require__[name];
109/******/ },
110/******/ set: function(value) {
111/******/ __webpack_require__[name] = value;
112/******/ }
113/******/ };
114/******/ };
115/******/ for (var name in __webpack_require__) {
116/******/ if (
117/******/ Object.prototype.hasOwnProperty.call(__webpack_require__, name) &&
118/******/ name !== "e" &&
119/******/ name !== "t"
120/******/ ) {
121/******/ Object.defineProperty(fn, name, ObjectFactory(name));
122/******/ }
123/******/ }
124/******/ fn.e = function(chunkId) {
125/******/ if (hotStatus === "ready") hotSetStatus("prepare");
126/******/ hotChunksLoading++;
127/******/ return __webpack_require__.e(chunkId).then(finishChunkLoading, function(err) {
128/******/ finishChunkLoading();
129/******/ throw err;
130/******/ });
131/******/
132/******/ function finishChunkLoading() {
133/******/ hotChunksLoading--;

Callers 2

__webpack_require__Function · 0.85
app.jsFile · 0.85

Calls 4

ObjectFactoryFunction · 0.85
hotSetStatusFunction · 0.85
finishChunkLoadingFunction · 0.85
fnFunction · 0.85

Tested by

no test coverage detected