add proxy() to instance

This commit is contained in:
Harvey committed 2021-12-03 11:02:35 +08:00
1 parent 177ded8c2c
commit 47128ecf9d
44 files changed
+164 -109

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ export default class Events {
this.proxy = this.proxy.bind(this);
this.hover = this.hover.bind(this);
this.loadImg = this.loadImg.bind(this);
art.proxy = this.proxy;
if (art.whitelist.state) {
art.once('ready', () => {