diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/tour/tourGuide.js b/packages/node_modules/@node-red/editor-client/src/js/ui/tour/tourGuide.js index 772c59b3c..9044e5980 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/tour/tourGuide.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/tour/tourGuide.js @@ -18,6 +18,9 @@ RED.tourGuide = (function() { if (tourCache[tourPath]) { runTour(tourCache[tourPath],done); } else { + /* jshint ignore:start */ + // jshint<2.13 doesn't support dynamic imports. Once grunt-contrib-jshint + // has been updated with the new jshint, we can stop ignoring this block import(tourPath).then(function(module) { tourCache[tourPath] = module.default; runTour(tourCache[tourPath],done); @@ -25,6 +28,7 @@ RED.tourGuide = (function() { console.warn("Error loading tour:",err); done(err); }) + /* jshint ignore:end */ } }