Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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.

index.js 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.addDefault = addDefault;
  6. exports.addNamed = addNamed;
  7. exports.addNamespace = addNamespace;
  8. exports.addSideEffect = addSideEffect;
  9. Object.defineProperty(exports, "ImportInjector", {
  10. enumerable: true,
  11. get: function () {
  12. return _importInjector.default;
  13. }
  14. });
  15. Object.defineProperty(exports, "isModule", {
  16. enumerable: true,
  17. get: function () {
  18. return _isModule.default;
  19. }
  20. });
  21. var _importInjector = require("./import-injector");
  22. var _isModule = require("./is-module");
  23. function addDefault(path, importedSource, opts) {
  24. return new _importInjector.default(path).addDefault(importedSource, opts);
  25. }
  26. function addNamed(path, name, importedSource, opts) {
  27. return new _importInjector.default(path).addNamed(name, importedSource, opts);
  28. }
  29. function addNamespace(path, importedSource, opts) {
  30. return new _importInjector.default(path).addNamespace(importedSource, opts);
  31. }
  32. function addSideEffect(path, importedSource, opts) {
  33. return new _importInjector.default(path).addSideEffect(importedSource, opts);
  34. }