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.

placeholder-shown.js 1.4KB

123456789101112131415161718192021222324252627282930313233343536
  1. "use strict";
  2. function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
  3. function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
  4. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  5. var Selector = require('../selector');
  6. var PlaceholderShown = /*#__PURE__*/function (_Selector) {
  7. _inheritsLoose(PlaceholderShown, _Selector);
  8. function PlaceholderShown() {
  9. return _Selector.apply(this, arguments) || this;
  10. }
  11. var _proto = PlaceholderShown.prototype;
  12. /**
  13. * Return different selectors depend on prefix
  14. */
  15. _proto.prefixed = function prefixed(prefix) {
  16. if (prefix === '-ms-') {
  17. return ':-ms-input-placeholder';
  18. }
  19. return ":" + prefix + "placeholder-shown";
  20. };
  21. return PlaceholderShown;
  22. }(Selector);
  23. _defineProperty(PlaceholderShown, "names", [':placeholder-shown']);
  24. module.exports = PlaceholderShown;