mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
removed poke-json from terminal
This commit is contained in:
parent
89a7bc473a
commit
f7e2d0674a
@ -161,18 +161,6 @@
|
||||
==
|
||||
==
|
||||
::
|
||||
++ poke-json
|
||||
|= [ost=bone you=ship jon=json]
|
||||
^- [(list move) _+>]
|
||||
%^ poke-term-in ost you
|
||||
^- term-in
|
||||
%- need
|
||||
%. jon => jo
|
||||
%^ ot
|
||||
pax/(su ;~(pfix fas (more fas sym)))
|
||||
act/(of line/so res/so cmd/so ~)
|
||||
~
|
||||
::
|
||||
++ poke-term-ctrl
|
||||
|= [ost=bone you=ship col=term-ctrl]
|
||||
^- [(list move) _+>]
|
||||
|
@ -1,7 +1,7 @@
|
||||
function jpok(a,b){
|
||||
var dat = {pax:urb.term.pax, act:{}}
|
||||
dat.act[a] = b
|
||||
urb.send({data:dat}, function(e,dat){
|
||||
urb.send({data:dat,mark:"term-in"}, function(e,dat){
|
||||
if(a === 'line' && dat.data.err){
|
||||
hist.unshift(prom.val())
|
||||
prom.val(b)
|
||||
|
@ -16,6 +16,7 @@ window.urb.send = function(params,cb) {
|
||||
perm = this.perms[type]
|
||||
|
||||
params.ship = params.ship ? params.ship : this.ship
|
||||
params.mark = params.mark ? params.mark : "json"
|
||||
|
||||
method = "put"
|
||||
url = [perm,this.user,this.port,this.seqn_s]
|
||||
|
Loading…
Reference in New Issue
Block a user