MCPcopy Create free account
hub / github.com/ReactJSResources/react-webpack-babel / getAffectedStuff

Function getAffectedStuff

public/bundle.js:282–318  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

280/******/ }
281/******/
282/******/ function getAffectedStuff(module) {
283/******/ var outdatedModules = [module];
284/******/ var outdatedDependencies = {};
285/******/
286/******/ var queue = outdatedModules.slice();
287/******/ while(queue.length > 0) {
288/******/ var moduleId = queue.pop();
289/******/ var module = installedModules[moduleId];
290/******/ if(!module || module.hot._selfAccepted)
291/******/ continue;
292/******/ if(module.hot._selfDeclined) {
293/******/ return new Error("Aborted because of self decline: " + moduleId);
294/******/ }
295/******/ if(moduleId === 0) {
296/******/ return;
297/******/ }
298/******/ for(var i = 0; i < module.parents.length; i++) {
299/******/ var parentId = module.parents[i];
300/******/ var parent = installedModules[parentId];
301/******/ if(parent.hot._declinedDependencies[moduleId]) {
302/******/ return new Error("Aborted because of declined dependency: " + moduleId + " in " + parentId);
303/******/ }
304/******/ if(outdatedModules.indexOf(parentId) >= 0) continue;
305/******/ if(parent.hot._acceptedDependencies[moduleId]) {
306/******/ if(!outdatedDependencies[parentId])
307/******/ outdatedDependencies[parentId] = [];
308/******/ addAllToSet(outdatedDependencies[parentId], [moduleId]);
309/******/ continue;
310/******/ }
311/******/ delete outdatedDependencies[parentId];
312/******/ outdatedModules.push(parentId);
313/******/ queue.push(parentId);
314/******/ }
315/******/ }
316/******/
317/******/ return [outdatedModules, outdatedDependencies];
318/******/ }
319/******/ function addAllToSet(a, b) {
320/******/ for(var i = 0; i < b.length; i++) {
321/******/ var item = b[i];

Callers 1

hotApplyFunction · 0.85

Calls 1

addAllToSetFunction · 0.85

Tested by

no test coverage detected