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.

$.js 578B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const utils_1 = require("../../utils");
  4. const getElementObject_1 = require("../../utils/getElementObject");
  5. const constants_1 = require("../../constants");
  6. async function $(selector) {
  7. if (selector && typeof selector[constants_1.ELEMENT_KEY] === 'string') {
  8. return getElementObject_1.getElement.call(this, undefined, selector);
  9. }
  10. const res = await utils_1.findElement.call(this, selector);
  11. return getElementObject_1.getElement.call(this, selector, res);
  12. }
  13. exports.default = $;