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.

mask-border.js 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 Declaration = require('../declaration');
  6. var MaskBorder = /*#__PURE__*/function (_Declaration) {
  7. _inheritsLoose(MaskBorder, _Declaration);
  8. function MaskBorder() {
  9. return _Declaration.apply(this, arguments) || this;
  10. }
  11. var _proto = MaskBorder.prototype;
  12. /**
  13. * Return property name by final spec
  14. */
  15. _proto.normalize = function normalize() {
  16. return this.name.replace('box-image', 'border');
  17. }
  18. /**
  19. * Return flex property for 2012 spec
  20. */
  21. ;
  22. _proto.prefixed = function prefixed(prop, prefix) {
  23. var result = _Declaration.prototype.prefixed.call(this, prop, prefix);
  24. if (prefix === '-webkit-') {
  25. result = result.replace('border', 'box-image');
  26. }
  27. return result;
  28. };
  29. return MaskBorder;
  30. }(Declaration);
  31. _defineProperty(MaskBorder, "names", ['mask-border', 'mask-border-source', 'mask-border-slice', 'mask-border-width', 'mask-border-outset', 'mask-border-repeat', 'mask-box-image', 'mask-box-image-source', 'mask-box-image-slice', 'mask-box-image-width', 'mask-box-image-outset', 'mask-box-image-repeat']);
  32. module.exports = MaskBorder;