mirror of
https://github.com/amark/gun.git
synced 2026-03-16 05:15:25 +00:00
Remove val from comment (#1207)
Line 78 uses ".once", but "val" is used in comment at line 79.
This commit is contained in:
@@ -76,7 +76,7 @@ gun.get('mark').put(mark);
|
||||
|
||||
// access the data as if it is a document.
|
||||
gun.get('mark').get('boss').get('name').once(function(data, key){
|
||||
// `val` grabs the data once, no subscriptions.
|
||||
// `once` grabs the data once, no subscriptions.
|
||||
console.log("Mark's boss is", data);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user