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

123456789
  1. 'use strict'
  2. module.exports = function whichModule (exported) {
  3. for (var i = 0, files = Object.keys(require.cache), mod; i < files.length; i++) {
  4. mod = require.cache[files[i]]
  5. if (mod.exports === exported) return mod
  6. }
  7. return null
  8. }