UI for Zipcoin Blue

LocalModule.js 401B

123456789101112131415161718192021222324
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. class LocalModule {
  7. constructor(module, name, idx) {
  8. this.module = module;
  9. this.name = name;
  10. this.idx = idx;
  11. this.used = false;
  12. }
  13. flagUsed() {
  14. this.used = true;
  15. }
  16. variableName() {
  17. return "__WEBPACK_LOCAL_MODULE_" + this.idx + "__";
  18. }
  19. }
  20. module.exports = LocalModule;