This commit is contained in:
Harvey Zack committed 2018-10-15 15:16:21 +08:00
1 parent 4327787895
commit e420005bcd
11 files changed
+233 -74

No files matched your search

+5
View File
@@ -3,6 +3,7 @@ export default class Events {
this.art = art;
this.destroys = [];
this.proxy = this.proxy.bind(this);
this.init();
}
proxy(target, name, callback) {
@@ -11,4 +12,8 @@ export default class Events {
target.removeEventListener(name, callback);
});
}
init() {
console.log('init');
}
}