mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 22:33:06 +03:00
graph: remove extraneous prints
This commit is contained in:
parent
ec432a5b10
commit
71fda84056
@ -334,11 +334,8 @@
|
||||
[%x %keys ~] ``noun+!>(~(key by graphs))
|
||||
[%x %tags ~] ``noun+!>(~(key by tag-queries))
|
||||
[%x %graph @ @ ~]
|
||||
~& path+path
|
||||
=/ =ship (slav %p i.t.t.path)
|
||||
=/ =term i.t.t.t.path
|
||||
~& resource+[ship term]
|
||||
~& graphs+~(key by graphs)
|
||||
=/ graph=(unit graph:store) (~(get by graphs) [ship term])
|
||||
?~ graph
|
||||
~
|
||||
|
@ -87,7 +87,7 @@
|
||||
?+ path (on-watch:def path)
|
||||
[%updates @ ~]
|
||||
:- [%give %fact ~ %json !>([(frond:enjs:format %graph-view s+'bound')])]~
|
||||
this(connections (~(put by connections) i.t.path now.bowl))
|
||||
this(connections (~(put by connections) (slav %ud i.t.path) now.bowl))
|
||||
==
|
||||
::
|
||||
++ on-agent
|
||||
@ -102,13 +102,11 @@
|
||||
%fact
|
||||
?+ p.cage.sign (on-agent:def wire sign)
|
||||
%graph-update
|
||||
~& %graph-update
|
||||
:_ this
|
||||
%+ give
|
||||
%+ turn ~(tap by connections)
|
||||
|= [=atom:store *]
|
||||
^- path
|
||||
~& connection+atom
|
||||
/updates/(scot %ud atom)
|
||||
cage.sign
|
||||
==
|
||||
|
Loading…
Reference in New Issue
Block a user