mirror of
https://github.com/amark/gun.git
synced 2025-07-06 04:42:32 +00:00
prepare to upgrade off maybe
This commit is contained in:
parent
8bb26f58ce
commit
f33dbdf85d
6
gun.js
6
gun.js
@ -1539,12 +1539,6 @@
|
|||||||
if(eas && eas.$){
|
if(eas && eas.$){
|
||||||
(eas.subs || (eas.subs = [])).push(act);
|
(eas.subs || (eas.subs = [])).push(act);
|
||||||
}
|
}
|
||||||
off = function() {
|
|
||||||
if (act && act.off) act.off();
|
|
||||||
off.off();
|
|
||||||
};
|
|
||||||
off.off = gun.off.bind(gun) || noop;
|
|
||||||
gun.off = off;
|
|
||||||
return gun;
|
return gun;
|
||||||
}
|
}
|
||||||
var opt = arg;
|
var opt = arg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user