Skip to content

Commit

Permalink
added variable declarations in files where required
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffin143 committed Jan 14, 2020
1 parent 148c4be commit 2394136
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/HotModuleReplacement.runtime.js
Expand Up @@ -3,6 +3,12 @@
Author Tobias Koppers @sokra
*/
/*global $hash$ $requestTimeout$ installedModules $require$ hotDownloadManifest hotDownloadUpdateChunk hotDisposeChunk modules */

var $hash$ = undefined;
var $requestTimeout$ = undefined;
var installedModules = undefined;
var $require$ = undefined;

module.exports = function() {
var hotApplyOnUpdate = true;
// eslint-disable-next-line no-unused-vars
Expand Down
5 changes: 5 additions & 0 deletions lib/node/NodeMainTemplate.runtime.js
Expand Up @@ -3,6 +3,11 @@
Author Tobias Koppers @sokra
*/
/*global installedChunks $hotChunkFilename$ hotAddUpdateChunk $hotMainFilename$ */

var $hotChunkFilename$ = undefined;
var hotAddUpdateChunk = undefined;
var installedChunks = undefined;

module.exports = function() {
// eslint-disable-next-line no-unused-vars
function hotDownloadUpdateChunk(chunkId) {
Expand Down
7 changes: 7 additions & 0 deletions lib/node/NodeMainTemplateAsync.runtime.js
Expand Up @@ -3,6 +3,13 @@
Author Tobias Koppers @sokra
*/
/*global installedChunks $hotChunkFilename$ $require$ hotAddUpdateChunk $hotMainFilename$ */

var $hotChunkFilename$ = undefined;
var $require$ = undefined;
var hotAddUpdateChunk = undefined;
var $hotMainFilename$ = undefined;
var installedChunks = undefined;

module.exports = function() {
// eslint-disable-next-line no-unused-vars
function hotDownloadUpdateChunk(chunkId) {
Expand Down
8 changes: 8 additions & 0 deletions lib/web/JsonpMainTemplate.runtime.js
Expand Up @@ -3,6 +3,14 @@
Author Tobias Koppers @sokra
*/
/*globals hotAddUpdateChunk parentHotUpdateCallback document XMLHttpRequest $require$ $hotChunkFilename$ $hotMainFilename$ $crossOriginLoading$ */

var hotAddUpdateChunk = undefined;
var parentHotUpdateCallback = undefined;
var $require$ = undefined;
var $hotMainFilename$ = undefined;
var $hotChunkFilename$ = undefined;
var $crossOriginLoading$ = undefined;

module.exports = function() {
// eslint-disable-next-line no-unused-vars
function webpackHotUpdateCallback(chunkId, moreModules) {
Expand Down
9 changes: 9 additions & 0 deletions lib/webworker/WebWorkerMainTemplate.runtime.js
Expand Up @@ -3,6 +3,15 @@
Author Tobias Koppers @sokra
*/
/*globals installedChunks hotAddUpdateChunk parentHotUpdateCallback importScripts XMLHttpRequest $require$ $hotChunkFilename$ $hotMainFilename$ */

var hotAddUpdateChunk = undefined;
var parentHotUpdateCallback = undefined;
var $require$ = undefined;
var $hotChunkFilename$ = undefined;
var $hotMainFilename$ = undefined;
var installedChunks = undefined;
var importScripts = undefined;

module.exports = function() {
// eslint-disable-next-line no-unused-vars
function webpackHotUpdateCallback(chunkId, moreModules) {
Expand Down

0 comments on commit 2394136

Please sign in to comment.