UI for Zipcoin Blue

ImportWeakContextDependency.js 706B

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 ImportWeakContextDependency extends ImportContextDependency {
  9. constructor(request, recursive, regExp, range, valueRange, chunkName) {
  10. super(request, recursive, regExp, range, valueRange, chunkName);
  11. this.async = "async-weak";
  12. }
  13. get type() {
  14. return "import() context weak";
  15. }
  16. }
  17. ImportWeakContextDependency.Template = ContextDependencyTemplateAsRequireCall;
  18. module.exports = ImportWeakContextDependency;