From f7e2d0674a689b7b4d25a5c688940df396b19111 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 23 Oct 2014 21:00:23 +0000 Subject: [PATCH] removed poke-json from terminal --- main/app/terminal/core.hook | 12 ------------ main/app/terminal/hymn/script.js | 2 +- main/lib/urb.js | 1 + 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/main/app/terminal/core.hook b/main/app/terminal/core.hook index b99ef739d..d0d53538a 100644 --- a/main/app/terminal/core.hook +++ b/main/app/terminal/core.hook @@ -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) _+>] diff --git a/main/app/terminal/hymn/script.js b/main/app/terminal/hymn/script.js index 379bfa5b2..c3598938b 100644 --- a/main/app/terminal/hymn/script.js +++ b/main/app/terminal/hymn/script.js @@ -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) diff --git a/main/lib/urb.js b/main/lib/urb.js index 3f3679ea5..a35c28926 100644 --- a/main/lib/urb.js +++ b/main/lib/urb.js @@ -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]