removed poke-json from terminal

This commit is contained in:
Ubuntu 2014-10-23 21:00:23 +00:00
parent 89a7bc473a
commit f7e2d0674a
3 changed files with 2 additions and 13 deletions

View File

@ -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) _+>]

View File

@ -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)

View File

@ -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]