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.

animation.js 1.4KB

1234567891011121314151617181920212223242526272829303132333435
  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 Animation = /*#__PURE__*/function (_Declaration) {
  7. _inheritsLoose(Animation, _Declaration);
  8. function Animation() {
  9. return _Declaration.apply(this, arguments) || this;
  10. }
  11. var _proto = Animation.prototype;
  12. /**
  13. * Don’t add prefixes for modern values.
  14. */
  15. _proto.check = function check(decl) {
  16. return !decl.value.split(/\s+/).some(function (i) {
  17. var lower = i.toLowerCase();
  18. return lower === 'reverse' || lower === 'alternate-reverse';
  19. });
  20. };
  21. return Animation;
  22. }(Declaration);
  23. _defineProperty(Animation, "names", ['animation', 'animation-direction']);
  24. module.exports = Animation;