File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55/*global $hash$ $requestTimeout$ installedModules $require$ hotDownloadManifest hotDownloadUpdateChunk hotDisposeChunk modules */
66module . exports = function ( ) {
77 var hotApplyOnUpdate = true ;
8- // @ts -ignore
98 var hotCurrentHash = $hash$ ; // eslint-disable-line no-unused-vars
109 var hotRequestTimeout = $requestTimeout$ ;
1110 var hotCurrentModuleData = { } ;
1211 var hotCurrentChildModule ; // eslint-disable-line no-unused-vars
13- // @ts -ignore
1412 var hotCurrentParents = [ ] ; // eslint-disable-line no-unused-vars
15- // @ts -ignore
1613 var hotCurrentParentsTemp = [ ] ; // eslint-disable-line no-unused-vars
1714
18- // @ts -ignore
1915 // eslint-disable-next-line no-unused-vars
2016 function hotCreateRequire ( moduleId ) {
2117 var me = installedModules [ moduleId ] ;
@@ -84,7 +80,6 @@ module.exports = function() {
8480 return fn ;
8581 }
8682
87- // @ts -ignore
8883 // eslint-disable-next-line no-unused-vars
8984 function hotCreateModule ( moduleId ) {
9085 var hot = {
@@ -211,7 +206,6 @@ module.exports = function() {
211206 } ) ;
212207 }
213208
214- // @ts -ignore
215209 // eslint-disable-next-line no-unused-vars
216210 function hotAddUpdateChunk ( chunkId , moreModules ) {
217211 if ( ! hotAvailableFilesMap [ chunkId ] || ! hotRequestedFilesMap [ chunkId ] )
Original file line number Diff line number Diff line change 44*/
55/*global installedChunks $hotChunkFilename$ hotAddUpdateChunk $hotMainFilename$ */
66module . exports = function ( ) {
7- // @ts -ignore
87 // eslint-disable-next-line no-unused-vars
98 function hotDownloadUpdateChunk ( chunkId ) {
109 var chunk = require ( "./" + $hotChunkFilename$ ) ;
1110 hotAddUpdateChunk ( chunk . id , chunk . modules ) ;
1211 }
1312
14- // @ts -ignore
1513 // eslint-disable-next-line no-unused-vars
1614 function hotDownloadManifest ( ) {
1715 try {
@@ -22,7 +20,6 @@ module.exports = function() {
2220 return Promise . resolve ( update ) ;
2321 }
2422
25- // @ts -ignore
2623 //eslint-disable-next-line no-unused-vars
2724 function hotDisposeChunk ( chunkId ) {
2825 delete installedChunks [ chunkId ] ;
Original file line number Diff line number Diff line change 44*/
55/*global installedChunks $hotChunkFilename$ $require$ hotAddUpdateChunk $hotMainFilename$ */
66module . exports = function ( ) {
7- // @ts -ignore
87 // eslint-disable-next-line no-unused-vars
98 function hotDownloadUpdateChunk ( chunkId ) {
109 var filename = require ( "path" ) . join ( __dirname , $hotChunkFilename$ ) ;
@@ -22,7 +21,6 @@ module.exports = function() {
2221 } ) ;
2322 }
2423
25- // @ts -ignore
2624 // eslint-disable-next-line no-unused-vars
2725 function hotDownloadManifest ( ) {
2826 var filename = require ( "path" ) . join ( __dirname , $hotMainFilename$ ) ;
@@ -39,7 +37,6 @@ module.exports = function() {
3937 } ) ;
4038 }
4139
42- // @ts -ignore
4340 //eslint-disable-next-line no-unused-vars
4441 function hotDisposeChunk ( chunkId ) {
4542 delete installedChunks [ chunkId ] ;
Original file line number Diff line number Diff line change 44*/
55/*globals hotAddUpdateChunk parentHotUpdateCallback document XMLHttpRequest $require$ $hotChunkFilename$ $hotMainFilename$ $crossOriginLoading$ */
66module . exports = function ( ) {
7- // @ts -ignore
87 // eslint-disable-next-line no-unused-vars
98 function webpackHotUpdateCallback ( chunkId , moreModules ) {
109 hotAddUpdateChunk ( chunkId , moreModules ) ;
1110 if ( parentHotUpdateCallback ) parentHotUpdateCallback ( chunkId , moreModules ) ;
1211 } //$semicolon
1312
14- // @ts -ignore
1513 // eslint-disable-next-line no-unused-vars
1614 function hotDownloadUpdateChunk ( chunkId ) {
1715 var head = document . getElementsByTagName ( "head" ) [ 0 ] ;
@@ -22,7 +20,6 @@ module.exports = function() {
2220 head . appendChild ( script ) ;
2321 }
2422
25- // @ts -ignore
2623 // eslint-disable-next-line no-unused-vars
2724 function hotDownloadManifest ( requestTimeout ) {
2825 requestTimeout = requestTimeout || 10000 ;
Original file line number Diff line number Diff line change 44*/
55/*globals installedChunks hotAddUpdateChunk parentHotUpdateCallback importScripts XMLHttpRequest $require$ $hotChunkFilename$ $hotMainFilename$ */
66module . exports = function ( ) {
7- // @ts -ignore
87 // eslint-disable-next-line no-unused-vars
98 function webpackHotUpdateCallback ( chunkId , moreModules ) {
109 hotAddUpdateChunk ( chunkId , moreModules ) ;
1110 if ( parentHotUpdateCallback ) parentHotUpdateCallback ( chunkId , moreModules ) ;
1211 } //$semicolon
1312
14- // @ts -ignore
1513 // eslint-disable-next-line no-unused-vars
1614 function hotDownloadUpdateChunk ( chunkId ) {
1715 importScripts ( $require$ . p + $hotChunkFilename$ ) ;
1816 }
1917
20- // @ts -ignore
2118 // eslint-disable-next-line no-unused-vars
2219 function hotDownloadManifest ( requestTimeout ) {
2320 requestTimeout = requestTimeout || 10000 ;
@@ -60,7 +57,6 @@ module.exports = function() {
6057 } ) ;
6158 }
6259
63- // @ts -ignore
6460 //eslint-disable-next-line no-unused-vars
6561 function hotDisposeChunk ( chunkId ) {
6662 delete installedChunks [ chunkId ] ;
Original file line number Diff line number Diff line change 2828 "alwaysStrict" : true , /* Parse in strict mode and emit "use strict" for each source file. */
2929
3030 /* Additional Checks */
31- "noUnusedLocals" : true , /* Report errors on unused locals. */
31+ // "noUnusedLocals": true, /* Report errors on unused locals. */
3232 // "noUnusedParameters": true, /* Report errors on unused parameters. */
3333 // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
3434 // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
You can’t perform that action at this time.
0 commit comments