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.

event.js 569B

123456789101112131415161718192021222324
  1. "use strict";
  2. function Event(type, bubbles, cancelable, target) {
  3. this.initEvent(type, bubbles, cancelable, target);
  4. }
  5. Event.prototype = {
  6. initEvent: function(type, bubbles, cancelable, target) {
  7. this.type = type;
  8. this.bubbles = bubbles;
  9. this.cancelable = cancelable;
  10. this.target = target;
  11. this.currentTarget = target;
  12. },
  13. // eslint-disable-next-line no-empty-function
  14. stopPropagation: function() {},
  15. preventDefault: function() {
  16. this.defaultPrevented = true;
  17. }
  18. };
  19. module.exports = Event;