UI for Zipcoin Blue

ImportLazyContextDependency.js 700B

1234567891011121314151617181920212223
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. const ImportContextDependency = require("./ImportContextDependency");
  7. const ContextDependencyTemplateAsRequireCall = require("./ContextDependencyTemplateAsRequireCall");
  8. class ImportLazyContextDependency extends ImportContextDependency {
  9. constructor(request, recursive, regExp, range, valueRange, chunkName) {
  10. super(request, recursive, regExp, range, valueRange, chunkName);
  11. this.async = "lazy";
  12. }
  13. get type() {
  14. return "import() context lazy";
  15. }
  16. }
  17. ImportLazyContextDependency.Template = ContextDependencyTemplateAsRequireCall;
  18. module.exports = ImportLazyContextDependency;