You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
439 B

4 years ago
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. const ModuleDependency = require("./ModuleDependency");
  7. class ContextElementDependency extends ModuleDependency {
  8. constructor(request, userRequest) {
  9. super(request);
  10. if (userRequest) {
  11. this.userRequest = userRequest;
  12. }
  13. }
  14. get type() {
  15. return "context element";
  16. }
  17. }
  18. module.exports = ContextElementDependency;