mirror of
https://github.com/amark/gun.git
synced 2026-03-07 01:21:48 +00:00
clarify root more for SEA, lots more to go
This commit is contained in:
@@ -10,6 +10,7 @@ Node.soul.ify = function(n, o){ // put a soul on an object.
|
||||
n._[soul_] = o.soul || n._[soul_] || text_random(); // put the soul on it.
|
||||
return n;
|
||||
}
|
||||
Node.soul._ = Val.rel._;
|
||||
;(function(){
|
||||
Node.is = function(n, cb, as){ var s; // checks to see if an object is a valid node.
|
||||
if(!obj_is(n)){ return false } // must be an object.
|
||||
@@ -51,7 +52,7 @@ Node.soul.ify = function(n, o){ // put a soul on an object.
|
||||
}());
|
||||
var obj = Type.obj, obj_is = obj.is, obj_del = obj.del, obj_map = obj.map;
|
||||
var text = Type.text, text_random = text.random;
|
||||
var soul_ = Val.rel._;
|
||||
var soul_ = Node.soul._;
|
||||
var u;
|
||||
module.exports = Node;
|
||||
|
||||
Reference in New Issue
Block a user