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

Function hotCreateModule

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

Source from the content-addressed store, hash-verified

150/******/
151/******/ // eslint-disable-next-line no-unused-vars
152/******/ function hotCreateModule(moduleId) {
153/******/ var hot = {
154/******/ // private stuff
155/******/ _acceptedDependencies: {},
156/******/ _declinedDependencies: {},
157/******/ _selfAccepted: false,
158/******/ _selfDeclined: false,
159/******/ _disposeHandlers: [],
160/******/ _main: hotCurrentChildModule !== moduleId,
161/******/
162/******/ // Module API
163/******/ active: true,
164/******/ accept: function(dep, callback) {
165/******/ if (dep === undefined) hot._selfAccepted = true;
166/******/ else if (typeof dep === "function") hot._selfAccepted = dep;
167/******/ else if (typeof dep === "object")
168/******/ for (var i = 0; i < dep.length; i++)
169/******/ hot._acceptedDependencies[dep[i]] = callback || function() {};
170/******/ else hot._acceptedDependencies[dep] = callback || function() {};
171/******/ },
172/******/ decline: function(dep) {
173/******/ if (dep === undefined) hot._selfDeclined = true;
174/******/ else if (typeof dep === "object")
175/******/ for (var i = 0; i < dep.length; i++)
176/******/ hot._declinedDependencies[dep[i]] = true;
177/******/ else hot._declinedDependencies[dep] = true;
178/******/ },
179/******/ dispose: function(callback) {
180/******/ hot._disposeHandlers.push(callback);
181/******/ },
182/******/ addDisposeHandler: function(callback) {
183/******/ hot._disposeHandlers.push(callback);
184/******/ },
185/******/ removeDisposeHandler: function(callback) {
186/******/ var idx = hot._disposeHandlers.indexOf(callback);
187/******/ if (idx >= 0) hot._disposeHandlers.splice(idx, 1);
188/******/ },
189/******/
190/******/ // Management API
191/******/ check: hotCheck,
192/******/ apply: hotApply,
193/******/ status: function(l) {
194/******/ if (!l) return hotStatus;
195/******/ hotStatusHandlers.push(l);
196/******/ },
197/******/ addStatusHandler: function(l) {
198/******/ hotStatusHandlers.push(l);
199/******/ },
200/******/ removeStatusHandler: function(l) {
201/******/ var idx = hotStatusHandlers.indexOf(l);
202/******/ if (idx >= 0) hotStatusHandlers.splice(idx, 1);
203/******/ },
204/******/
205/******/ //inherit from previous dispose call
206/******/ data: hotCurrentModuleData[moduleId]
207/******/ };
208/******/ hotCurrentChildModule = undefined;
209/******/ return hot;

Callers 1

__webpack_require__Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected