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

1234567891011121314151617
  1. 'use strict'
  2. /* eslint no-proto: 0 */
  3. module.exports = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties)
  4. function setProtoOf (obj, proto) {
  5. obj.__proto__ = proto
  6. return obj
  7. }
  8. function mixinProperties (obj, proto) {
  9. for (var prop in proto) {
  10. if (!obj.hasOwnProperty(prop)) {
  11. obj[prop] = proto[prop]
  12. }
  13. }
  14. return obj
  15. }