prepare to upgrade off maybe

This commit is contained in:
Mark Nadal 2018-06-19 18:39:31 -07:00
parent 8bb26f58ce
commit f33dbdf85d

6
gun.js
View File

@ -1539,12 +1539,6 @@
if(eas && eas.$){
(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;
}
var opt = arg;