testing erase

This commit is contained in:
Mark Nadal 2018-03-30 02:14:41 -07:00
parent eebb9f2abb
commit 2ba37800d2

View File

@ -11,7 +11,7 @@ Gun.on('opt', function(ctx){
if(tmp){
delete tmp[key];
}
tmp = tmp._ && tmp._['>'];
tmp = tmp && tmp._ && tmp._['>'];
if(tmp){
delete tmp[key];
}