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.

once.js 365B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = once;
  6. function once(fn) {
  7. function wrapper(...args) {
  8. if (fn === null) return;
  9. var callFn = fn;
  10. fn = null;
  11. callFn.apply(this, args);
  12. }
  13. Object.assign(wrapper, fn);
  14. return wrapper;
  15. }
  16. module.exports = exports["default"];