2014-06-25 02:00:07 +04:00
|
|
|
!: |= *
|
|
|
|
::::::::: Foobug: a simple application.
|
|
|
|
::
|
|
|
|
|_ [hid=hide vat=[%0 p=@ud]]
|
|
|
|
++ poke
|
2014-06-25 08:01:09 +04:00
|
|
|
|= [ost=bone *]
|
2014-06-25 02:00:07 +04:00
|
|
|
:_ +>(p.vat +(p.vat))
|
2014-06-25 08:01:09 +04:00
|
|
|
:~ [ost %give %rasp ~ %json *json]
|
2014-07-01 00:07:56 +04:00
|
|
|
[%c %pass]
|
2014-06-25 02:00:07 +04:00
|
|
|
==
|
|
|
|
::
|
|
|
|
++ peek
|
|
|
|
|= [you=ship pax=path]
|
|
|
|
:- %hymn
|
|
|
|
^- manx
|
|
|
|
;html
|
|
|
|
;head
|
|
|
|
;title: Foobug!
|
|
|
|
==
|
|
|
|
;body
|
2014-06-25 08:43:44 +04:00
|
|
|
;p: Dude, a better answer is {<p.vat>}.
|
2014-07-01 00:07:56 +04:00
|
|
|
;button(onclick "bump()"): (Bump.)
|
2014-06-25 02:00:07 +04:00
|
|
|
;script
|
|
|
|
; var mess = 0;
|
|
|
|
;
|
|
|
|
; function bump() {
|
|
|
|
; xhr = new XMLHttpRequest();
|
|
|
|
; xhr.onload = function() { mess++; }
|
2014-06-25 08:43:44 +04:00
|
|
|
; xhr.open("PUT", "/tim/"+user+"/"+appl+"/"+port+"/"+mess);
|
|
|
|
; xhr.setRequestHeader("content-type", "text/json");
|
2014-06-25 02:00:07 +04:00
|
|
|
; xhr.send(JSON.stringify({oryx: oryx, xyro: {}}));
|
|
|
|
; }
|
|
|
|
==
|
|
|
|
==
|
|
|
|
==
|
|
|
|
--
|
|
|
|
|
|
|
|
|