浏览代码

app.ServiceWorker: super()

Simon Legner 1 年之前
父节点
当前提交
416363a551
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      assets/javascripts/app/serviceworker.js

+ 1 - 0
assets/javascripts/app/serviceworker.js

@@ -4,6 +4,7 @@ app.ServiceWorker = class ServiceWorker extends Events {
   }
 
   constructor() {
+    super();
     this.onStateChange = this.onStateChange.bind(this);
     this.registration = null;
     this.notifyUpdate = true;