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

Function hotCheck

docs/app.js:237–276  ·  view source on GitHub ↗
(apply)

Source from the content-addressed store, hash-verified

235/******/ }
236/******/
237/******/ function hotCheck(apply) {
238/******/ if (hotStatus !== "idle") {
239/******/ throw new Error("check() is only allowed in idle status");
240/******/ }
241/******/ hotApplyOnUpdate = apply;
242/******/ hotSetStatus("check");
243/******/ return hotDownloadManifest(hotRequestTimeout).then(function(update) {
244/******/ if (!update) {
245/******/ hotSetStatus("idle");
246/******/ return null;
247/******/ }
248/******/ hotRequestedFilesMap = {};
249/******/ hotWaitingFilesMap = {};
250/******/ hotAvailableFilesMap = update.c;
251/******/ hotUpdateNewHash = update.h;
252/******/
253/******/ hotSetStatus("prepare");
254/******/ var promise = new Promise(function(resolve, reject) {
255/******/ hotDeferred = {
256/******/ resolve: resolve,
257/******/ reject: reject
258/******/ };
259/******/ });
260/******/ hotUpdate = {};
261/******/ var chunkId = "app";
262/******/ // eslint-disable-next-line no-lone-blocks
263/******/ {
264/******/ /*globals chunkId */
265/******/ hotEnsureUpdateChunk(chunkId);
266/******/ }
267/******/ if (
268/******/ hotStatus === "prepare" &&
269/******/ hotChunksLoading === 0 &&
270/******/ hotWaitingFiles === 0
271/******/ ) {
272/******/ hotUpdateDownloaded();
273/******/ }
274/******/ return promise;
275/******/ });
276/******/ }
277/******/
278/******/ // eslint-disable-next-line no-unused-vars
279/******/ function hotAddUpdateChunk(chunkId, moreModules) {

Callers

nothing calls this directly

Calls 4

hotSetStatusFunction · 0.85
hotDownloadManifestFunction · 0.85
hotEnsureUpdateChunkFunction · 0.85
hotUpdateDownloadedFunction · 0.85

Tested by

no test coverage detected