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.

get-built-in.js 434B

1234567891011
  1. var path = require('../internals/path');
  2. var global = require('../internals/global');
  3. var aFunction = function (variable) {
  4. return typeof variable == 'function' ? variable : undefined;
  5. };
  6. module.exports = function (namespace, method) {
  7. return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])
  8. : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
  9. };