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 300B

12345678910111213
  1. 'use strict';
  2. const mimicFn = (to, from) => {
  3. for (const prop of Reflect.ownKeys(from)) {
  4. Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
  5. }
  6. return to;
  7. };
  8. module.exports = mimicFn;
  9. // TODO: Remove this for the next major release
  10. module.exports.default = mimicFn;