This commit is contained in:
Mark Nadal 2015-02-21 21:40:01 -07:00
parent 06ff44a865
commit 735afdced5

2
gun.js
View File

@ -401,7 +401,7 @@
gun.shot.next(function(next){
opt = opt || {};
cb = cb || function(){};
gun._.field = Gun.text.ify(field);
gun._.field = Gun.text.ify(gun._.field);
if(!gun._.node){
if(Gun.is.value(val) || !Gun.obj.is(val)){
return cb.call(gun, {err: Gun.log("No field exists to set the " + (typeof val) + " on.")});