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

Function hotCreateModule

public/bundle.js:109–168  ·  view source on GitHub ↗
(moduleId)

Source from the content-addressed store, hash-verified

107/******/ }
108/******/
109/******/ function hotCreateModule(moduleId) { // eslint-disable-line no-unused-vars
110/******/ var hot = {
111/******/ // private stuff
112/******/ _acceptedDependencies: {},
113/******/ _declinedDependencies: {},
114/******/ _selfAccepted: false,
115/******/ _selfDeclined: false,
116/******/ _disposeHandlers: [],
117/******/
118/******/ // Module API
119/******/ active: true,
120/******/ accept: function(dep, callback) {
121/******/ if(typeof dep === "undefined")
122/******/ hot._selfAccepted = true;
123/******/ else if(typeof dep === "function")
124/******/ hot._selfAccepted = dep;
125/******/ else if(typeof dep === "number")
126/******/ hot._acceptedDependencies[dep] = callback;
127/******/ else for(var i = 0; i < dep.length; i++)
128/******/ hot._acceptedDependencies[dep[i]] = callback;
129/******/ },
130/******/ decline: function(dep) {
131/******/ if(typeof dep === "undefined")
132/******/ hot._selfDeclined = true;
133/******/ else if(typeof dep === "number")
134/******/ hot._declinedDependencies[dep] = true;
135/******/ else for(var i = 0; i < dep.length; i++)
136/******/ hot._declinedDependencies[dep[i]] = true;
137/******/ },
138/******/ dispose: function(callback) {
139/******/ hot._disposeHandlers.push(callback);
140/******/ },
141/******/ addDisposeHandler: function(callback) {
142/******/ hot._disposeHandlers.push(callback);
143/******/ },
144/******/ removeDisposeHandler: function(callback) {
145/******/ var idx = hot._disposeHandlers.indexOf(callback);
146/******/ if(idx >= 0) hot._disposeHandlers.splice(idx, 1);
147/******/ },
148/******/
149/******/ // Management API
150/******/ check: hotCheck,
151/******/ apply: hotApply,
152/******/ status: function(l) {
153/******/ if(!l) return hotStatus;
154/******/ hotStatusHandlers.push(l);
155/******/ },
156/******/ addStatusHandler: function(l) {
157/******/ hotStatusHandlers.push(l);
158/******/ },
159/******/ removeStatusHandler: function(l) {
160/******/ var idx = hotStatusHandlers.indexOf(l);
161/******/ if(idx >= 0) hotStatusHandlers.splice(idx, 1);
162/******/ },
163/******/
164/******/ //inherit from previous dispose call
165/******/ data: hotCurrentModuleData[moduleId]
166/******/ };

Callers 1

__webpack_require__Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected